Can somebody help me to insert in my instance an attribute with always the same value?
Actual:
#<Test surname: "example", givename: "test">
Target:
#<Test surname: "example", givename: "test", newvalue: "text">
How do I have to change this code?
@users.each do |user|
user
end
Or can I implement this with something like :attr_accessor?