How allow editing in fields

Good morning ,
I need to allow editing in fields in ruby.
how do I do that ?

Do you mean you want a getter and setter on an instance variable? There is attr_accessor for that.

1 Like