friendly_id-mobility
friendly_id-mobility copied to clipboard
Translate FriendlyId slugs with Mobility
When using this nice gem with the history option I found that the translated slugs where not being saved. I checked the issues opened and found #10 is my problem,...
Solves #27 by loosen the `locale` constraint and taking the :mobility plugin usage into account for each `sluggable`.
This gem adds a `locale` column to the `friendly_id_slugs` table with `null: :false`. This way it enforces slugs being translated project wide. If one wants a translated slug with history...
## Description Using friendly_id-mobility I came to this error: [FriendlyId] You need to translate the 'fieldA' field with Mobility (add 'translates :fieldA' in your model 'modelA') But translation for 'fieldA'...
This seems to be unsupported now and in any case its not strictly mandatory to explicitly define column position using `after:`. https://github.com/shioyama/friendly_id-mobility/blob/45392451cdafc5adb90bce5fad9385f03f505edb/lib/generators/templates/migration.rb#L3 Without specifying the position, the new column will...
+ added the fix from #36 would love to see a release as we run on mobility 5.5 and have to rely on unreleased code.
Not working with [Mobility container backend](https://github.com/shioyama/mobility/wiki/Container-Backend)