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

Apparently Rails 3.2 recursively looks into db/migrate folder #8

Open
dmitry-a-l opened this issue Feb 7, 2012 · 5 comments
Open

Comments

@dmitry-a-l
Copy link
Contributor

so it wants to make SecondDB migrations in main DB

@ghost
Copy link

ghost commented Jan 22, 2013

Is this resolved?

@karledurante
Copy link
Owner

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.

@ghost
Copy link

ghost commented Jan 23, 2013

Well i am getting
rake aborted!
undefined method `schema_cache' for ActiveRecord::Base:Class once I updated to rails 3.2. Are these related?

@karledurante
Copy link
Owner

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.

@himanshu-saxena
Copy link

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

'
(See full trace by running task with --trace)

Getting error on rake db:migrate

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

3 participants