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

Getting error when loading /copycat_translations #24

Open
wangfowen opened this issue Oct 12, 2017 · 0 comments
Open

Getting error when loading /copycat_translations #24

wangfowen opened this issue Oct 12, 2017 · 0 comments

Comments

@wangfowen
Copy link

Couldn't find all CopycatTranslations with 'id': (all, {:select=>"distinct locale"}) (found 0 results, but was looking for 2)

Looks to be because of the line CopycatTranslation.find(:all, select: 'distinct locale'). I think it may not be supported in latest Rails maybe? CopycatTranslation.all.select('distinct locale').map(&:locale) works

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