-
Notifications
You must be signed in to change notification settings - Fork 24
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
undefined method `create_view' #41
Comments
+1 |
Try |
That fixed my issue. Going to see if I continue to have others with rails 3.2, but looks pretty awesome so far. |
Fixed my issue (well this Issue #32 did, same idea though). If this will not be fixed soon you many want to add this to the README. Thanks for the great gem! |
When trying to follow something similar to example with MySQL version 5.5.17 with Rails 3.1 I get the following error
== CreateBooks: migrating ====================================================
-- create_table(:books)
-> 0.0073s
citier -> Root Class
citier -> table_name -> master_objects
citier -> Non Root Class
citier -> table_name -> books
citier -> tablename (view) -> view_books
-- create_view("view_books", "SELECT master_objects.id, info,type,created_at,updated_at,title,created_at,updated_at FROM master_objects, books WHERE master_objects.id = books.id")
rake aborted!
An error has occurred, all later migrations canceled:
undefined method `create_view' for #CreateBooks:0x007f8e3ca00c40
The text was updated successfully, but these errors were encountered: