这是indexloc提供的服务,不要输入任何密码
Skip to content

Generalize Titleable concern #745

@NuckChorris

Description

@NuckChorris

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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions