Which statement about ActiveRecord models is true?

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


Search
R4R Team
R4Rin Top Tutorials are Core Java,Hibernate ,Spring,Sturts.The content on R4R.in website is done by expert team not only with the help of books but along with the strong professional knowledge in all context like coding,designing, marketing,etc!