Question: Which statement about ActiveRecord models is true?
- Each database column requres adding a matching attr_accessor declaration in the ActiveRecord model.
- All attributes in an ActiveRecord model are read-only declared as writable using attr_accessible
- An instance of an ActiveRecord model will have attributes that match the columns in a corresponding database table.
- ActiveRecord models can have only attributes that have a matching database column
Answer: The correct answer of the above question is Option C:An instance of an ActiveRecord model will have attributes that match the columns in a corresponding database table.