Can I do this in Rails 4?
Where book is an ActiveRecord object just fetched from the db.
new_variable is not a column in books table.
I was trying to do this but rails gives me error undefined method
Is there any other way to set variable to ActiveRecord object which is not part of that particular table?