Flowdock
method

select

Importance_1
v3.0.0 - Show latest stable - 1 note - Class: ActiveRecord::QueryMethods
select(*args) public

No documentation

This method has no description. You can help the Ruby on Rails community by adding new notes.

Show source
Register or log in to add new notes.
November 24, 2014
0 thanks

Arguments for .select must be array

Model.select(:field, :other_field, :and_one_more) has a typo. It must take an array of arguments as the description states:

Model.select([:field, :other_field, :and_one_more])