-
Notifications
You must be signed in to change notification settings - Fork 194
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
using userstamps in existing schema #2
Comments
+1 |
Just change vendor/plugins/userstamp/lib/migration_helper.rb to at the bottom read: ActiveRecord::ConnectionAdapters::TableDefinition.send(:include, Ddb::Userstamp::MigrationHelper) (i.e., add the last line) |
cool, thanks. |
richwallett
pushed a commit
to richwallett/userstamp
that referenced
this issue
Jan 13, 2018
wrong class name generation
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi,
Is it possible to use t.userstamps with change_table instead of create_table in migrations? I'd like to use this with an existing database and I can't get it to work that way, i keep getting this error:
undefined method `userstamps' for #ActiveRecord::ConnectionAdapters::Table:0x102e99f78
What am i doing wrong? How can i fix this?
thanks in advance,
_ miguel
The text was updated successfully, but these errors were encountered: