Is the mass_assignment: false
example in the README out of date?
#325
Labels
mass_assignment: false
example in the README out of date?
#325
Here’s the relevant part:
I’m running 1.0.5 and for me this results in a NoMethodError:
User.new
works fine. Is the other initializer still supported?I’d really like to use it since I want an attribute called
attributes
(#206) and I don’t really care about mass assignment otherwise.Looks like the error was introduced by a385ca2. If I do
it works as expected, except for setting the
attributes
attribute in the initializer. Currently I’m using it as a workaround.Thanks!
The text was updated successfully, but these errors were encountered: