Permalink
Browse files

reverse comparison because of strange AS behavior

  • Loading branch information...
tenderlove committed May 22, 2013
1 parent 26fd5f0 commit d6d63767795dd5c47a57d37d075e52c2043a87bd
Showing with 1 addition and 1 deletion.
  1. +1 −1 activerecord/lib/active_record/fixtures.rb
@@ -567,7 +567,7 @@ def table_rows
# 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

0 comments on commit d6d6376

Please sign in to comment.