While running rake precompile:assets i'm getting the following error This is the error message: rake assets:precompile:all RAILS_ENV=production rake aborted! undefined local variable or method `establish_connection' for ActiveRecord::Base:Class
Please help -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-talk+unsubscr...@googlegroups.com. To post to this group, send email to rubyonrails-talk@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/c025224a-76eb-4d1b-82bd-2c0c4f556485%40googlegroups.com?hl=en-US. For more options, visit https://groups.google.com/groups/opt_out.