Skip to content
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

Error with rake db:schema:dump #67

Closed
kacpermigala opened this issue Apr 6, 2016 · 3 comments
Closed

Error with rake db:schema:dump #67

kacpermigala opened this issue Apr 6, 2016 · 3 comments

Comments

@kacpermigala
Copy link

When i execute rake db:schema:dump i get in schema.rb:
Could not dump table "xxx" because of following NoMethodError
undefined method `limit' for "INTEGER":String

and this repeat for 200 tables in my database.
I need to make app in work on exisiting database so do you know any way to fix this?
Is this problem with app or database?

This is problem with app because on new database i got this same error.
Im using flamerobin and i need to use it for creating db.

@rowland
Copy link
Owner

rowland commented Apr 6, 2016

Can you post a table schema that causes this issue? I just tested again on a fairly large and complex database and experienced no problems.

@kacpermigala
Copy link
Author

DB is uploaded here:
http://wildcat.huzar.pl/download/do_pobrania/8647F48D4CE4409AAA5BBA7279D47410/BAZA.FDB

This is database with just one table made in flamerobin still not working:
Could not dump table "customer" because of following NoMethodError
undefined method `limit' for "VARCHAR":String

Now also when i make new db through create: true and starting localhost, when i add the first model and try to run db:migrate i got:
rake aborted!
NoMethodError: undefined method `compile' for #String:0x5715150

so i think my rails app dont have some needed gems.

@kacpermigala
Copy link
Author

Ok i just reinstall my ruby do everything from the begining (i need to move fbclient.dll from firebird install folder to Disk:ruby/bin) and now everything works great :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants