copycat icon indicating copy to clipboard operation
copycat copied to clipboard

Getting error when loading /copycat_translations

Open wangfowen opened this issue 8 years ago • 0 comments

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

wangfowen avatar Oct 12 '17 19:10 wangfowen