rails/activemodel/lib
Fabio Yamate d204918f91 Fix sanitize_for_mass_assigment when role is nil
There is an example in Rails documentation that suggests implementing
assign_attributes method for ActiveModel interface, that by default
sends option role with nil. Since mass_assignment_authorizer never
is called without args, we can move the default value internally.
2012-02-15 11:13:54 -02:00
..
active_model Fix sanitize_for_mass_assigment when role is nil 2012-02-15 11:13:54 -02:00
active_model.rb Merge pull request #4248 from andrew/2012 2011-12-31 12:48:19 -08:00