Rails seems to throw errors with this yaml:
one:
id: 1
_3g2: true
_3gp: false
mp4: false
What’s the deal?
Rails seems to throw errors with this yaml:
one:
id: 1
_3g2: true
_3gp: false
mp4: false
What’s the deal?
Ahh, it looks like rails was taking the true as literal text. This
works:
one:
id: 1
_3g2: 1
_3gp: 0
mp4: 0
This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.
Sponsor our Newsletter | Privacy Policy | Terms of Service | Remote Ruby Jobs