check your database connection
development:
host: localhost
adapter: DB(oracle or mysql)
database: database name here
port: 3306
username: root
password: research
if ur not using IDE make sure there should be space after":" in each
and
everyline which you can see above
On Mon, Jun 4, 2012 at 7:40 PM, Shalini Sah
<shalinisah6692-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>wrote:
> 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
>
> Please help me in this regard. My database is oracle.
>
> --
> You received this message because you are subscribed to the Google Groups
> "Ruby on Rails: Talk" group.
> To post to this group, send email to
rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
> To unsubscribe from this group, send email to
>
rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
> For more options, visit this group at
> http://groups.google.com/group/rubyonrails-talk?hl=en.
>
>
--
You received this message because you are subscribed to the Google Groups
"Ruby on Rails: Talk" group.
To post to this group, send email to
rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
To unsubscribe from this group, send email to
rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
For more options, visit this group at
http://groups.google.com/group/rubyonrails-talk?hl=en.