aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/lib/action_view/helpers/javascript_helper.rb
diff options
context:
space:
mode:
authorAndrew White <andyw@pixeltrix.co.uk>2013-04-05 00:39:37 +0100
committerAndrew White <andyw@pixeltrix.co.uk>2013-04-05 00:43:16 +0100
commit8f84cdd06f85c65c1949ea227285bbdeb47c5b14 (patch)
treea9aaea9a59bc8813ffd0fe8b49e5ded88c4dfe5d /actionpack/lib/action_view/helpers/javascript_helper.rb
parent249876b99bd518f93f5a9f8ae6c4ed7d6fb02936 (diff)
downloadrails-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/javascript_helper.rb')
0 files changed, 0 insertions, 0 deletions