Re: ActiveRecord class method count issues


#1

On Tue, Mar 06, 2007 at 07:23:53PM +0100, Drew O. wrote :

irb(main):004:0> Employee.count
ActiveRecord::ConnectionNotEstablished:
ActiveRecord::ConnectionNotEstablished

What’s your Rails version?
You need to have ActiveRecord::Calculations module (Rails > 1.1).

Do you have output debug from the db?


,========================.
| Pierre-Alexandre M. |
| email : removed_email_address@domain.invalid |
`========================’