Apparently Rails 3.2 recursively looks into db/migrate folder
so it wants to make SecondDB migrations in main DB
Is this resolved?
Unfortunately, no. The main project I use this on is still Rails 3.0.x, so I haven't had the need to fix this just yet.
I don't think the fix is hard, just moving where the migrations folder gets created (probably outside of db/migrations).
Any help would be greatly appreciated!
On Jan 22, 2013, at 6:12 PM, riddhima [email protected] wrote:
Is this resolved?
— Reply to this email directly or view it on GitHub.
Well i am getting rake aborted! undefined method `schema_cache' for ActiveRecord::Base:Class once I updated to rails 3.2. Are these related?
That's a good question. I would suspect they are not related.
I've not tried to use SecondBase with rails 3.2 yet, so I'm honestly unaware of what issues there may be at this time.
I will be using this in a 3.2 project in the future, so I will address the issues. Just not sure how soon.
On Jan 22, 2013, at 7:35 PM, riddhima [email protected] wrote:
Well i am getting rake aborted! undefined method `schema_cache' for ActiveRecord::Base:Class once I updated to rails 3.2. Are these related?
— Reply to this email directly or view it on GitHub.
rake aborted!
undefined method push' for LL("db"):Rake::Scope /home/himanshusaxena/.rvm/gems/ruby-1.9.3-p448@mysytes/gems/secondbase-0.5.0/lib/secondbase/rake_method_chain.rb:19:inoverride_task'
/home/himanshusaxena/.rvm/gems/ruby-1.9.3-p448@mysytes/gems/secondbase-0.5.0/lib/secondbase/tasks.rb:18:in block in <top (required)>' /home/himanshusaxena/.rvm/gems/ruby-1.9.3-p448@mysytes/gems/secondbase-0.5.0/lib/secondbase/tasks.rb:17:in<top (required)>'
/home/himanshusaxena/.rvm/gems/ruby-1.9.3-p448@mysytes/gems/activesupport-3.2.13/lib/active_support/dependencies.rb:245:in load' /home/himanshusaxena/.rvm/gems/ruby-1.9.3-p448@mysytes/gems/activesupport-3.2.13/lib/active_support/dependencies.rb:245:inblock in load'
/home/himanshusaxena/.rvm/gems/ruby-1.9.3-p448@mysytes/gems/activesupport-3.2.13/lib/active_support/dependencies.rb:236:in load_dependency' /home/himanshusaxena/.rvm/gems/ruby-1.9.3-p448@mysytes/gems/activesupport-3.2.13/lib/active_support/dependencies.rb:245:inload'
/home/himanshusaxena/.rvm/gems/ruby-1.9.3-p448@mysytes/gems/secondbase-0.5.0/lib/secondbase/railtie.rb:7:in block in <class:Railtie>' /home/himanshusaxena/.rvm/gems/ruby-1.9.3-p448@mysytes/gems/railties-3.2.13/lib/rails/railtie.rb:184:ininstance_exec'
/home/himanshusaxena/.rvm/gems/ruby-1.9.3-p448@mysytes/gems/railties-3.2.13/lib/rails/railtie.rb:184:in block in load_tasks' /home/himanshusaxena/.rvm/gems/ruby-1.9.3-p448@mysytes/gems/railties-3.2.13/lib/rails/railtie.rb:184:ineach'
/home/himanshusaxena/.rvm/gems/ruby-1.9.3-p448@mysytes/gems/railties-3.2.13/lib/rails/railtie.rb:184:in load_tasks' /home/himanshusaxena/.rvm/gems/ruby-1.9.3-p448@mysytes/gems/railties-3.2.13/lib/rails/engine.rb:423:inblock in load_tasks'
/home/himanshusaxena/.rvm/gems/ruby-1.9.3-p448@mysytes/gems/railties-3.2.13/lib/rails/application/railties.rb:8:in each' /home/himanshusaxena/.rvm/gems/ruby-1.9.3-p448@mysytes/gems/railties-3.2.13/lib/rails/application/railties.rb:8:inall'
/home/himanshusaxena/.rvm/gems/ruby-1.9.3-p448@mysytes/gems/railties-3.2.13/lib/rails/engine.rb:423:in load_tasks' /home/himanshusaxena/.rvm/gems/ruby-1.9.3-p448@mysytes/gems/railties-3.2.13/lib/rails/application.rb:145:inload_tasks'
/home/himanshusaxena/.rvm/gems/ruby-1.9.3-p448@mysytes/gems/railties-3.2.13/lib/rails/railtie/configurable.rb:30:in method_missing' /home/himanshusaxena/Projects/Mysytes_halosys/Rakefile:8:in<top (required)>'
/home/himanshusaxena/.rvm/gems/ruby-1.9.3-p448@mysytes/bin/ruby_noexec_wrapper:14:in eval' /home/himanshusaxena/.rvm/gems/ruby-1.9.3-p448@mysytes/bin/ruby_noexec_wrapper:14:in
Getting error on rake db:migrate