Question: Which statement about ActiveRecord models is true?

  1. Each database column requres adding a matching attr_accessor declaration in the ActiveRecord model.
  2. All attributes in an ActiveRecord model are read-only declared as writable using attr_accessible
  3. An instance of an ActiveRecord model will have attributes that match the columns in a corresponding database table.
  4. 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.