Check ur database.Yml
And also your, gems. Mysql, mysql 2 etc. May the u r using wrong lib in db.yml
Regards,
Piyush Gupta
On Jun 4, 2012 10:16 PM, <rails...@googlegroups.com> wrote:
Group: http://groups.google.com/group/railsindia/topics
- `establish_connection' undefined error [1 Update]
Shalini Sah <shalini...@gmail.com> Jun 04 07:11AM -0700
Hi,
Whenever I run
rake db:schema:dump
i get the following error
rake aborted!
undefined local variable or method `establish_connection' for
ActiveRecord::Base:Class
...more
You received this message because you are subscribed to the Google Group railsindia.
--
You can post via email.
To unsubscribe from this group, send an empty message.
For more options, visit this group.
You received this message because you are subscribed to the Google Groups "Rails India" group.
To post to this group, send email to rails...@googlegroups.com.
To unsubscribe from this group, send email to railsindia+...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/railsindia?hl=en.