Jump to content

The ultimate community for Ruby on Rails developers.


Photo

I want to share defined in multiple project in rails

rails define share

  • Please log in to reply
2 replies to this topic

#1 shunsuke

shunsuke

    Passenger

  • Members
  • 2 posts

Posted 13 July 2014 - 03:48 AM

In rails, for example, I would have considered to be wanna to share multiple projects and prefectures, and code definition of service-specific 
In that case, what should I do 
 
 
Thank you


#2 Ohm

Ohm

    Driver

  • Moderators
  • 416 posts
  • LocationCopenhagen

Posted 13 July 2014 - 11:44 AM

You could separate your functionalities into small gems and just use those gems in all of your projects. If you don't want these gems public, you can host them at e.g. Gemfury (https://gemfury.com/


Blog: http://ohm.sh | Twitter: @madsohm | Work: Lokalebasen.dk


#3 shunsuke

shunsuke

    Passenger

  • Members
  • 2 posts

Posted 13 July 2014 - 03:43 PM

Thank you for answer. I will try.







Also tagged with one or more of these keywords: rails, define, share

0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users