We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
If my title has content and my permalink field is nil.. it does not generate the permalink.
title
permalink
nil
I try from the console many things and it just does not work
ruby 1.9.2 rails 3.2.3
if I do this to my model it works
before_validation do |record| record.generate_permalink! if record.permalink.blank? end
The text was updated successfully, but these errors were encountered:
Hi Fddayan!
Can you please post the full model code?
Thanks / Ola
Sorry, something went wrong.
No branches or pull requests
If my
title
has content and mypermalink
field isnil
.. it does not generate the permalink.I try from the console many things and it just does not work
ruby 1.9.2
rails 3.2.3
if I do this to my model it works
The text was updated successfully, but these errors were encountered: