Closed blazetango closed 3 years ago
It seems that globalize
override query methods of active_record https://github.com/globalize/globalize/issues/707,
and automatically joins the translation's table.
I'll try and submit a PR to do the same thing when using deep_pluck
together with globalize
Just release v1.2.0.
See the CHANGELOG for more details
I have a class with translations Questionnaire.deep_pluck(:title) returns
ActiveRecord::StatementInvalid (PG::UndefinedColumn: ERROR: column "title" does not exist) title is translated field using globalise gem