mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
use consistent keys between cache get / set
This commit is contained in:
parent
0c28247db1
commit
81fb5317dc
1 changed files with 1 additions and 1 deletions
|
@ -164,7 +164,7 @@ module ActiveRecord
|
||||||
private
|
private
|
||||||
# Returns the specified association instance if it responds to :loaded?, nil otherwise.
|
# Returns the specified association instance if it responds to :loaded?, nil otherwise.
|
||||||
def association_instance_get(name)
|
def association_instance_get(name)
|
||||||
@association_cache[name.to_sym]
|
@association_cache[name]
|
||||||
end
|
end
|
||||||
|
|
||||||
# Set the specified association instance.
|
# Set the specified association instance.
|
||||||
|
|
Loading…
Reference in a new issue