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
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