This project is archived and is in readonly mode.
Changeset [bca070ef2ddbbe7e093c340ec7722e4dca0f37a5] by Caleb Land
Revision bca070ef2ddbbe7e093c340ec7722e4dca0f37a5,
committed by Caleb Land
· February 3rd, 2011 @ 09:05 PM
allow spaces and other characters in attribute names [#4725 state:resolved]
- define the dynamically defined methods with 'define_method' instead of def
- wrap some string injected method names in quotes
Signed-off-by: Santiago Pastorino
santiago@wyeworks.com
https://github.com/rails/rails/commit/bca070ef2ddbbe7e093c340ec7722...
2 changed files
-
M
activemodel/lib/active_model/attribute_methods.rb -
M
activemodel/test/cases/attribute_methods_test.rb