Skip to content

Commit

Permalink
Fix documentation
Browse files Browse the repository at this point in the history
This method still returns string keys.
  • Loading branch information
rafaelfranca committed May 3, 2024
1 parent e74dc16 commit 9ddb9e2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion activerecord/lib/active_record/reflection.rb
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ def reflect_on_aggregation(aggregation)

# Returns a Hash of name of the reflection as the key and an AssociationReflection as the value.
#
# Account.reflections # => {balance: => AggregateReflection}
# Account.reflections # => {"balance" => AggregateReflection}
#
def reflections
normalized_reflections.stringify_keys
Expand Down

0 comments on commit 9ddb9e2

Please sign in to comment.