aboutsummaryrefslogtreecommitdiffstats
path: root/Gemfile
diff options
context:
space:
mode:
authorMatt Hogan <OhHeyItsMatt@gmail.com>2015-01-05 09:02:44 -0600
committerMatt Hogan <OhHeyItsMatt@gmail.com>2015-01-05 09:02:44 -0600
commit7b910917d39bb7d7c5b1b7cdbfb14ff001cac7cc (patch)
treeb4b4a37e3a631e402c54458461a15a270c3dfc01 /Gemfile
parented21e18166774a8334d703634e15626691e6e5fa (diff)
downloadrails-7b910917d39bb7d7c5b1b7cdbfb14ff001cac7cc.tar.gz
rails-7b910917d39bb7d7c5b1b7cdbfb14ff001cac7cc.tar.bz2
rails-7b910917d39bb7d7c5b1b7cdbfb14ff001cac7cc.zip
Fix TypeError in Fixture creation
Ruby 4.2 started doing `value.gsub('$LABEL', label)` for fixture label interpolation, but you can have have valid YAML where `label` isn't a String. For example: ```YAML 0: name: John email: johndoe@gmail.com 1: name: Jane email: janedoe@gmail.com ``` This YAML will create a label that is a Fixnum, causing `TypeError: no implicit conversion of Fixnum into String.`
Diffstat (limited to 'Gemfile')
0 files changed, 0 insertions, 0 deletions