Rails newbie here. If I have a model and a table associated with it, can I refer to the table's attributes??
2 Answers
Yes. ActiveRecord maps tables to your models.
You can inspect the official ActiveRecord tutorial: http://guides.rubyonrails.org/active_record_querying.html