-
-
Notifications
You must be signed in to change notification settings - Fork 591
New issue
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
doesn't appear to respect config.active_record.table_name_prefix #328
Comments
Well, I poked around the friendly_id code and answered my own question. Although friendly_id doesn't automatically respect the table prefix, it's easy enough to configure the new table name in the environment config file. in /environments/production.rb
|
Thanks for reporting this. I would definitely consider this a bug, and worth fixing. |
Cool. If I knew more about gits and forks and pushes and pulls I'd try fixing it myself...but I'm a bit of a noob |
In case anyone else is having this problem, you need only set |
I've got a rails 3 app that sets config.active_record.table_name_prefix. The migration correctly creates myprefix_friendly_id_slugs, but any operations that would edit that table give errors like:
Which makes me think that the table name is hard-coded. Is there a friendly_id config that allows us to change the table name?
The text was updated successfully, but these errors were encountered: