This code appears vulnerable to SQL injection. It's also not necessary to use `send` AFAICT. Perhaps something like:

```RUBY
quoted_translation_store = connection.quote_column_name("#{attr_name}_translations")
where("#{quoted_translation_store} @> (:locale => :value)", :locale => I18n.locale, :value => value).first
```