How using attributes privates

How to use an “attr_private”?

Marcelo J. wrote:

How to use an “attr_private”?

Check out attr_protected:
http://api.rubyonrails.org/classes/ActiveRecord/Base.html#M001005
Hope this helps
Chris

http://www.autopendium.com
Stuff about old cars

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs