Skip to content

Transliteration possible? #22

@Frexuz

Description

@Frexuz
show.name
=> "Σαββατογεννημένες"
[9] pry(main)> show.generate_permalink!
   (13.6ms)  SELECT COUNT(*) FROM `shows`  WHERE (permalink = '')
  Show Load (150.6ms)  SELECT `shows`.* FROM `shows`  WHERE (permalink LIKE '%')  ORDER BY id
=> "-1000044"

The permalink generation runs on before_validation which is the first callback in the callback chain.
So is there a way to hook into before the generation is run, or some other way to solve this?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions