Connection Lost
I did the following test. A have a Application model that points to a DB using use_connection_ninja. Them, on console I did the following:
Application.connection Application.all ActiveRecord::Base.connection Application.all
On the last command I received: "Mysql::Error: MySQL server has gone away". So, seems that I cant use the default application database. Only those using use_connection_ninja. Is that true?
Can you gist the model code that you are using to connect to your different databases?
Is was a very simple test:
class Application < ActiveRecord::Base use_connection_ninja(:config) end
How about your database.yml? can you post that?
Could not paste the file here, but you can see it where: http://dl.dropbox.com/u/5350111/database.yml
Thanks