diff options
author | Andrew White <andyw@pixeltrix.co.uk> | 2013-04-05 00:39:37 +0100 |
---|---|---|
committer | Andrew White <andyw@pixeltrix.co.uk> | 2013-04-05 00:43:16 +0100 |
commit | 8f84cdd06f85c65c1949ea227285bbdeb47c5b14 (patch) | |
tree | a9aaea9a59bc8813ffd0fe8b49e5ded88c4dfe5d /actionpack/lib/action_view/helpers/form_tag_helper.rb | |
parent | 249876b99bd518f93f5a9f8ae6c4ed7d6fb02936 (diff) | |
download | rails-8f84cdd06f85c65c1949ea227285bbdeb47c5b14.tar.gz rails-8f84cdd06f85c65c1949ea227285bbdeb47c5b14.tar.bz2 rails-8f84cdd06f85c65c1949ea227285bbdeb47c5b14.zip |
Use inspect when writing the foreign key from the reflection
If we don't use inspect inside the class_eval block then the foreign key
is written without quotes causing us to fetch the foreign key value and
not the column name.
Diffstat (limited to 'actionpack/lib/action_view/helpers/form_tag_helper.rb')
0 files changed, 0 insertions, 0 deletions