after looking deeper in ActiveModel i found that all dynamically
generated attribute methods are included in a dynamic anonymous
module. it can be accessed from an active record class
via .generated_attribute_methods (User.generated_attribute_methods)

i was eventually able to alias all generated methods and set up a
permission chain upon object extension -  this method works but seems
very HEAVY. would be nicer if all attribute manipulation went through
#read_attribute and #write_attribute.

-- 
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To unsubscribe from this group, send email to 
rubyonrails-talk+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en.

Reply via email to