Trying to use friendly_id gem on lengthier strings than say just :name I'm trying to use it on the :headline column of my news_stories table but when I try to update the table to replace the newly added slug column with the constantized contents of the :headline field with the command in console `NewsStory.find_each(&:save)` each select rolls back as NewsStory exists and after going through each record this way at the end it says NameError: wrong constant name admin Yes I know constants begin with capital letters but where's it getting admin from anyway Must be a bug in the gem? It works fine with :name field on another table I have to admit some of the headlines contain special characters like exclamation points and double quotes
-- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/2c323121-b248-43a5-8987-2aaf84009456%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.

