Created
November 23, 2011 08:43
-
-
Save tatey/1388207 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| attr_accessor :cat, :dog | |
| attr_accessor :banana, :apple | |
| attr_encrypted :cat, :dog | |
| attr_encrypted :banana |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
In the same vain why couldn't you do:
I don't think that would be too inconsistent considering rails 3 now allows you to do
attr_accessible :attr, :as => :admin... And if I follow that then this should look like: