Ruby on Rails
Tuesday, June 5, 2012
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@gmail.com> 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@googlegroups.com.
To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com.
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@googlegroups.com.
To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment