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

change count() to count(:all) for rails 4.1 #2129

Closed
wants to merge 1 commit into from

Conversation

artdevil
Copy link

@artdevil artdevil commented Dec 6, 2014

I see rails 4.1 only work using count(:all) rails/rails#13648 (comment)

it's error when I use joins and select based on joins ex :

joins(:courier_company).select('waybills.*, courier_companies.name as courier_company_name')

@mshibuya
Copy link
Member

Specs needed!

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

Successfully merging this pull request may close these issues.

2 participants