Re: [Rails-core] ActiveRecord update_attributes filtering

2006-05-24 Thread Laszlo Gyula
Marcel Molina Jr. wrote: On Wed, May 24, 2006 at 03:30:56AM +0200, Laszlo Gyula wrote: I was a little concerned with the rails de-facto update method (as used in rails's scaffolds), because it simply calls .update_attributes(params[:]. This is very DRY indeed, but when some of the ta

[Rails-core] ActiveRecord update_attributes filtering

2006-05-23 Thread Laszlo Gyula
hi, I was a little concerned with the rails de-facto update method (as used in rails's scaffolds), because it simply calls .update_attributes(params[:]. This is very DRY indeed, but when some of the table's fields contain valuable information that should be writable only by certain actions, y