aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/lib/active_record/reflection.rb
diff options
context:
space:
mode:
authorPaco Guzman <fjguzman@aspgems.com>2010-08-12 17:09:58 +0200
committerPaco Guzman <fjguzman@aspgems.com>2010-08-12 17:09:58 +0200
commit8a2b69b7273379f3c9f68ff7903b653801951ac3 (patch)
treed040890da223ef4317981377e83143b7a6934992 /activerecord/lib/active_record/reflection.rb
parent599c50583784537eec454f5e91dac89f88e54da3 (diff)
downloadrails-8a2b69b7273379f3c9f68ff7903b653801951ac3.tar.gz
rails-8a2b69b7273379f3c9f68ff7903b653801951ac3.tar.bz2
rails-8a2b69b7273379f3c9f68ff7903b653801951ac3.zip
applied guidelines to "# =>"
Diffstat (limited to 'activerecord/lib/active_record/reflection.rb')
-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 7f47a812eb..8295fd68b3 100644
--- a/activerecord/lib/active_record/reflection.rb
+++ b/activerecord/lib/active_record/reflection.rb
@@ -41,7 +41,7 @@ module ActiveRecord
# Returns the AggregateReflection object for the named +aggregation+ (use the symbol).
#
- # Account.reflect_on_aggregation(:balance) #=> the balance AggregateReflection
+ # Account.reflect_on_aggregation(:balance) # => the balance AggregateReflection
#
def reflect_on_aggregation(aggregation)
reflections[aggregation].is_a?(AggregateReflection) ? reflections[aggregation] : nil