I tried this:
@item.increment!(‘views’)
But Rails say:
wrong number of arguments (1 for 0)
And the docs say (under instance methods):
increment!(attribute)
Say what? What say you?
Joe
I tried this:
@item.increment!(‘views’)
But Rails say:
wrong number of arguments (1 for 0)
And the docs say (under instance methods):
increment!(attribute)
Say what? What say you?
Joe
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