Module: Mobility::Plugins::Sequel::ColumnFallback::BackendClassMethods
- Defined in:
- lib/mobility/plugins/sequel/column_fallback.rb
Instance Method Summary collapse
Instance Method Details
#build_op(attr, locale) ⇒ Object
53 54 55 56 57 58 59 |
# File 'lib/mobility/plugins/sequel/column_fallback.rb', line 53 def build_op(attr, locale) if ColumnFallback.use_column_fallback?(, locale) ::Sequel::SQL::QualifiedIdentifier.new(model_class.table_name, attr.to_sym) else super end end |