Ruby on Rails Discussions
How to add a new attribute to a model
rubyonrails-talk
Jason_Roelofs
(Jason Roelofs)
October 12, 2006, 6:14pm
1
Try
attr_accessor :price_type_description
Jason
Related topics
Topic
Replies
Views
Activity
Changing model attribute names
rubyonrails-talk
0
199
December 27, 2006
Why won't write_attribute(:price, value*100) work in the console?
rubyonrails-talk
2
394
January 14, 2011
AR: add attribute to model
rubyonrails-talk
2
139
September 17, 2008
Possible to use attr_reader/writer in model?
rubyonrails-talk
0
132
November 4, 2006
additional model attributes
rubyonrails-talk
7
158
October 25, 2011