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
No firebird connection established #1
Comments
Try adding "create: true" under your profile in database.yml. There's probably a better way to handle this. |
Thanks @rowland , It works perfectly fine in connecting and creating the database. But, rake db:migrate throws an error saying that rake aborted! Tasks: TOP => db:migrate when i explored fb_adapter.rb, I see that definition for execute method is commented out, like given below.
When i uncommented it, migration rake db:migrate worked(although, complaining about fixnum). I want to ask that do i really need to uncomment it or there is any other solution. And yes, If i need to uncomment it, why it is commented out?? |
I thought it was deprecated, but perhaps I was mistaken. It's back in in version 0.7.2. |
Dont encode short strings w/ nil column in #quote
I am using the gem 'activerecord-fb-adapter' and gem 'fb' both version 0.7.0 with my rails(3.2.6) application. But I am not able to connect to the database.
Running rake db:create gives
{:adapter=>"fb",
:database=>"localhost/3050:/var/lib/firebird/2.5/data/rubyonfire.fdb",
:username=>"sysdba",
:password=>"mindfire",
:host=>"localhost",
:downcase_names=>true}
{:adapter=>"fb",
:database=>"localhost/3050:/var/lib/firebird/2.5/data/rubyonfire_test.fdb",
:username=>"sysdba",
:password=>"mindfire",
:host=>"localhost",
:downcase_names=>true}
and rake db:migrate gives
{:adapter=>"fb",
:database=>"localhost/3050:/var/lib/firebird/2.5/data/rubyonfire.fdb",
:username=>"sysdba",
:password=>"mindfire",
:host=>"localhost",
:downcase_names=>true}
rake aborted!
No Firebird connections established.
Tasks: TOP => db:migrate
(See full trace by running task with --trace)
Please help.
The text was updated successfully, but these errors were encountered: