Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Loading…

Model.select not variadic #4539

Closed
clyfe opened this Issue · 0 comments

2 participants

@clyfe

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 issue from a commit
@vijaydev vijaydev 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.
e95e932
@vijaydev vijaydev closed this in e95e932
@xuanxu xuanxu referenced this issue from a commit
@vijaydev vijaydev select doesn't take multiple arguments - fixes #4539 [ci skip]
Didn't cherry pick the master commit because this one already had some
of the fixes made in master.
c8b584f
@ask4prasath ask4prasath referenced this issue from a commit in ask4prasath/rails
@vijaydev vijaydev 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.
f84079c
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.