Model.select not variadic #4539

Closed
clyfe opened this Issue Jan 19, 2012 · 0 comments

Comments

Projects
None yet
2 participants
Contributor

clyfe commented Jan 19, 2012

The docs say that one can call Model.select(:id, :name) (varargs) but doing so results in wrong number of arguments 2 for 1 error.

@vijaydev vijaydev closed this in e95e932 Jan 19, 2012

ask4prasath pushed a commit to ask4prasath/rails that referenced this issue Feb 7, 2012

select doesn't take multiple arguments - fixes #4539 [ci skip]
Also, fixed the bit about returning AM::MissingAttributeError. This
seems to be fixed earlier in 3-2-stable only.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment