diff options
author | Caleb Land <caleb.land@gmail.com> | 2011-02-03 13:46:03 -0500 |
---|---|---|
committer | Santiago Pastorino <santiago@wyeworks.com> | 2011-02-03 19:05:17 -0200 |
commit | bca070ef2ddbbe7e093c340ec7722e4dca0f37a5 (patch) | |
tree | 529857731a61acb26081c599735d25243bdbb234 /activerecord/lib/active_record/result.rb | |
parent | d65e3b481e72e8c76818a94353e9ac315c7c0272 (diff) | |
download | rails-bca070ef2ddbbe7e093c340ec7722e4dca0f37a5.tar.gz rails-bca070ef2ddbbe7e093c340ec7722e4dca0f37a5.tar.bz2 rails-bca070ef2ddbbe7e093c340ec7722e4dca0f37a5.zip |
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>
Diffstat (limited to 'activerecord/lib/active_record/result.rb')
0 files changed, 0 insertions, 0 deletions