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:3
Posted Date:-2022-09-17 04:21:41