> but can't remember the syntax for "without_protection"
At the risk of asking the obvious question, what exactly is so confusing about..
User.create({name: 'Pete', email: '[email protected]', account: Account.first},
without_protection: true)
and…
User.find(1).update_attributes({account: new_account}, without_protection: true)
?
Maybe it's just me, but the differences between this and sudo_* seems so
minimal that I don't think it's worth it.
Godfrey
--
You received this message because you are subscribed to the Google Groups "Ruby
on Rails: Core" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/rubyonrails-core?hl=en.