Re: [Rails] About Directory location of strategy pattern in rails

2015-08-30 Thread venu madhav chitta
No they just use existing tables, do some joins and generate the item recommendations. Their interface looks like: recommendations(user_id) and returns [item_id] On Sunday, August 30, 2015 at 1:03:20 AM UTC-7, Colin Law wrote: > > On 30 August 2015 at 04:36, venu madhav chitta > > wrote: > > I

[Rails] Re: Deploying Rails Engine to Heroku

2015-08-30 Thread Frederick Cheung
On Sunday, August 30, 2015 at 1:08:04 PM UTC+1, L. Johan Nissen wrote: > > Hi guys, > > I've got a Rails app that is dependent on a Rails Engine to function. I > would like know how to deploy such an app to Heroku and especially if > there's somebody who has made a tutorial. > > > It shouldn't

Re: [Rails] Deploying Rails Engine to Heroku

2015-08-30 Thread Sadaf Noor
Are you facing any problem deploying your app with engine? I had blogit engine in my rails app and there was nothing special about it. I just did following and it worked: $ git push heroku master $ heroku run bundler install 2015-08-30 16:26 GMT+06:00 L. Johan Nissen : > Hi guys, > > I've got a

[Rails] Deploying Rails Engine to Heroku

2015-08-30 Thread L. Johan Nissen
Hi guys, I've got a Rails app that is dependent on a Rails Engine to function. I would like know how to deploy such an app to Heroku and especially if there's somebody who has made a tutorial. Thank you in advance. -- You received this message because you are subscribed to the Google Groups

Re: [Rails] About Directory location of strategy pattern in rails

2015-08-30 Thread Colin Law
On 30 August 2015 at 04:36, venu madhav chitta wrote: > I am implementing strategy pattern in Rails where I have Models like User, > Item, Category and need to recommend items for the users depending on > various algorithms (strategies) that user selects in view. > > I am having a Recommend class

[Rails] About Directory location of strategy pattern in rails

2015-08-30 Thread venu madhav chitta
I am implementing strategy pattern in Rails where I have Models like User, Item, Category and need to recommend items for the users depending on various algorithms (strategies) that user selects in view. I am having a Recommend class which has an interface of recommend(user_id, strategy) and