[Rails] ActiveRecord.update_each / updated_each!

2017-01-27 Thread Dorian MariƩ
implementation could be: ``` class ActiveRecord::Base def self.update_each(updates) find_each { |model| model.update(updates) } end def self.update_each!(updates) find_each { |model| model.update!(updates) } end end ``` - Dorian Programmer -- You received this message because you

[Rails] Error in Rails 3 Release notes

2010-08-10 Thread Dorian
Hello, There is : "filter_parameter_logging is deprecated in favour of config.filter_parameters << :password." but this don't work : and "config.filter_parameters << :password" work, so there is an error ? http://edgeguides.rubyonrails.org/3_0_release_notes.html#action-controller Thanks. -- Yo

[Rails] Re: Question: An application made with Ruby on Rails is Open Source by default?

2009-03-31 Thread Dorian Lupu
Thank you Fred for your quick answer. Looks like i'll start soon my application using RoR! Best Regards, Dorian 2009/3/31 Frederick Cheung > > > > On Mar 31, 8:53 am, Dorian wrote: > > Hello everybody, > > > > I'm about to enter the Ruby on Rails C

[Rails] Question: An application made with Ruby on Rails is Open Source by default?

2009-03-31 Thread Dorian
t are developped in Ruby on Rails are Open Source by default. Is that true? (In my case, it will be a commercial application, so Open Source is not an option for the moment) Thank you in advance for your kind answer. Best regards, Dorian --~--~-~--~~~---~--~~ You received