mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
get_value
and set_value
in Relation
are no longer used externally
This commit is contained in:
parent
45955aed00
commit
f0e6ecc996
1 changed files with 10 additions and 9 deletions
|
@ -901,6 +901,7 @@ module ActiveRecord
|
|||
@arel ||= build_arel
|
||||
end
|
||||
|
||||
protected
|
||||
# Returns a relation value with a given name
|
||||
def get_value(name) # :nodoc:
|
||||
@values[name] || default_value_for(name)
|
||||
|
|
Loading…
Reference in a new issue