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
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
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
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
4 matches
Mail list logo