If User is an ActiveRecord class, which choice would be expected to return an array?

Question:If User is an ActiveRecord class, which choice would be expected to return an array?

1.User.where(last_name: 'Smith')

2.User.find_or_create(last_name: 'Smith')

3.User.find_by_last_name('Smith')

4.User.find('Smith')


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!