mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
reverse comparison because of strange AS behavior
http://tenderlovemaking.com/2013/05/21/one-danger-of-freedom-patches.html
This commit is contained in:
parent
26fd5f0cd5
commit
d6d6376779
1 changed files with 1 additions and 1 deletions
|
@ -567,7 +567,7 @@ module ActiveRecord
|
|||
|
||||
# interpolate the fixture label
|
||||
row.each do |key, value|
|
||||
row[key] = label if value == "$LABEL"
|
||||
row[key] = label if "$LABEL" == value
|
||||
end
|
||||
|
||||
# generate a primary key if necessary
|
||||
|
|
Loading…
Reference in a new issue