We want to reuse the Titleable concern for other fields (synopsis, etc.), so we should extract the localizable field into something we can apply across the site on other fields.
Probably something like the following syntax would be nice (in a concern mixed into BaseRecord, obviously):
class Anime < BaseRecord
localized_field :synopsis, default_lang: 'en_us'
end
We want to reuse the Titleable concern for other fields (synopsis, etc.), so we should extract the localizable field into something we can apply across the site on other fields.
Probably something like the following syntax would be nice (in a concern mixed into BaseRecord, obviously):