awesome_hstore_translate
awesome_hstore_translate copied to clipboard
Using PostgreSQLs hstore datatype to provide model data translation with ActiveRecord.
Bumps [activerecord](https://github.com/rails/rails) from 6.1.4.1 to 7.0.4.3. Release notes Sourced from activerecord's releases. v7.0.4.3 Active Support Implement SafeBuffer#bytesplice [CVE-2023-28120] Active Model No changes. Active Record No changes. Action View Ignore certain...
Bumps [activesupport](https://github.com/rails/rails) from 6.1.4.1 to 7.0.4.3. Release notes Sourced from activesupport's releases. v7.0.4.3 Active Support Implement SafeBuffer#bytesplice [CVE-2023-28120] Active Model No changes. Active Record No changes. Action View Ignore certain...
The definition for the `where` method in Rails 6.1 is the next one ```ruby def where(*args) if args.empty? WhereChain.new(spawn) elsif args.length == 1 && args.first.blank? self else spawn.where!(*args) end end...
Query methods don't work with columns with `_translations` suffix so I create this patch to make it work. The change it pretty easy. Since there is `get_column_name`, I moved this...
I believe fallback logic is incorrect: Given ```ruby class Entity translates :title, accessors: [:en, :es] end entity.title_en = "english" entity.title_es = nil ``` Expected ```ruby I18n.locale = :en entity.title =>...
Sorting
Does the system allow for easy ordering? eg. order(name: :asc) where name is a translated field? How well does it combine with fallbacks? I did not see anything in the...