On Thursday 08 April 2010 23.52:07 Yevgeny wrote:
> Is there something similar to ActiveRecord attr_protected? I want to
> protect "belongs_to" attributes from being mass-assigned:
Why is that in AR? That's controllers' job. Old, but you get the idea [1]

[1] http://blog.stochasticbytes.com/2008/01/paramprotected.html

-- 
You received this message because you are subscribed to the Google Groups 
"DataMapper" 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/datamapper?hl=en.

Reply via email to