RubyFlow The Ruby and Rails community linklog

ActiveRecord and FriendlyId: slug not generated when field set with before_validation

A post describing why friendly_id fails to use slug base field when it is set via before_validation callback. In a post there’s also a solution, that will make this issue go away. Read here

Post a comment

You can use basic HTML markup (e.g. <a>) or Markdown.

As you are not logged in, you will be
directed via GitHub to signup or sign in