Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Group clause is not working with pagination in v3.0.pre4 #314

Open
gaurav-midha opened this issue Jun 20, 2013 · 0 comments
Open

Group clause is not working with pagination in v3.0.pre4 #314

gaurav-midha opened this issue Jun 20, 2013 · 0 comments

Comments

@gaurav-midha
Copy link

See the command and its result :-

User.group(:email).paginate(:page => 1, :per_page => 5)
User Load (1.9ms) SELECT users.* FROM users GROUP BY email LIMIT 5 OFFSET 0
(1.3ms) SELECT COUNT(*) AS count_all, email AS email FROM users GROUP BY email
(Object doesn't support #inspect)

The issue is not their in "v3.0.pre" but is their in both " v3.0.pre2" and "v3.0.pre4"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant