[Rails] [ANN] Rails 4.2.7 and 4.1.16 have been released!

2016-07-12 Thread Rafael Mendonça França
Hi everyone, I am happy to announce that Rails 4.2.7 and 4.1.16 have been released. As [Rails 5 was released]( http://weblog.rubyonrails.org/2016/6/30/Rails-5-0-final/), this is probably going to be the last release of Rails 4.1. Please take some time to upgrade your application to Rails 4.2 or R

Re: [Rails] Safer "fuzzy" find -- how would you do this?

2016-07-12 Thread Walter Lee Davis
> On Jul 12, 2016, at 10:19 AM, Frederick Cheung > wrote: > > > On Sunday, July 10, 2016 at 4:28:39 PM UTC+1, Walter Lee Davis wrote: > I was just looking over some code I wrote last year, and found this in one of > my mailers: > > @item = eval(params[:item].classify).send(:find, params

[Rails] [ANN] Integrative - for integrating ActiveRecord models with external resources

2016-07-12 Thread netizer
As I couldn't find the library for working with external resources in Rails, I made this gem: https://github.com/netizer/integrative A long time ago I thought that that's what ActiveResource id for, but: - There is no system of associations between ActiveResource models and ActiveRecord models

[Rails] Re: Safer "fuzzy" find -- how would you do this?

2016-07-12 Thread Frederick Cheung
On Sunday, July 10, 2016 at 4:28:39 PM UTC+1, Walter Lee Davis wrote: > > I was just looking over some code I wrote last year, and found this in one > of my mailers: > > @item = eval(params[:item].classify).send(:find, params[:item_id]) > > The idea here is that I can have the mailer respon

Re: [Rails] Re: User Points System

2016-07-12 Thread Greg Navis
Yes, gems often make things more complicated than necessary. Regarding `spent` - if I earned 10 points and want to spend 2 how would you model this? I'm not sure whether that's possible in your app but it's a thing to keep in mind. -- You received this message because you are subscribed to the Go

[Rails] Reg: create & update actions for jbuilder

2016-07-12 Thread VIDYA SAGAR POGIRI
Hello, is there a way to create & update actions for jbuilder just like index and show actions. If yes kindly let me know, thanks -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To unsubscribe from this group and stop receiving emails fr