aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord
diff options
context:
space:
mode:
authorAaron Patterson <aaron.patterson@gmail.com>2013-06-13 11:01:27 -0700
committerAaron Patterson <aaron.patterson@gmail.com>2013-06-13 11:01:27 -0700
commit930d0e129c730292ab987eaaf1cd2ba8094e580b (patch)
tree803935fd67572d7807c6033750d3a001abd6a6c3 /activerecord
parent27be568639ec14c9696f79d554301fa69cb8edae (diff)
downloadrails-930d0e129c730292ab987eaaf1cd2ba8094e580b.tar.gz
rails-930d0e129c730292ab987eaaf1cd2ba8094e580b.tar.bz2
rails-930d0e129c730292ab987eaaf1cd2ba8094e580b.zip
oops. step away from the keyboard aaron. :cry:
Diffstat (limited to 'activerecord')
-rw-r--r--activerecord/lib/active_record/reflection.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/activerecord/lib/active_record/reflection.rb b/activerecord/lib/active_record/reflection.rb
index 496237a2f2..cfae2ffdb5 100644
--- a/activerecord/lib/active_record/reflection.rb
+++ b/activerecord/lib/active_record/reflection.rb
@@ -416,7 +416,7 @@ module ActiveRecord
end
if valid_inverse_reflection?(reflection)
- inverse_name
+ return inverse_name
end
end