- Defined in:
Adds a scope which enables querying on translated attributes using
not as if they were normal attributes. Under the hood, this plugin uses the generic
apply_scope methods implemented in each backend class to build ActiveRecord queries from Arel nodes. The plugin also adds find_by_<attribute> shortcuts for translated attributes.
The query scope applies to all translated attributes once the plugin has been enabled for any one attribute on the model.
Defined Under Namespace
Modules:, , Classes: