Re: [Rails] Re: how to solve ActiveRecord::ConnectionNotEstablished
On 26 March 2011 23:04, Bryan Crossland <bacrossland@gmail.com> wrote:
> On Fri, Mar 25, 2011 at 10:17 PM, salim mandrekar
> <mandrekar.salim@gmail.com> wrote:
>>
>> yes.
>> database.yml file is ok..
>> even i can run the rake db:create and rake db:migrate commands with zero
>> errors..
>> wat can be the problem?
>
> What is on line 7 of this file ?
>
> app/controllers/greetings_controller.rb
In fact show us from the start of file to the end of that action, and
also the model file (presumably greetings.rb). Strip out irrelevant
methods from there if it is big.
Colin
--
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.
0 Comments:
Post a Comment
Subscribe to Post Comments [Atom]
<< Home