find(:all) problem

Hi

You don't do find on an instance of the model, you do it on the model itself. So your find should be

Stuff.find( :all, :select => 'mp1')

Simon

Simon Macneall wrote:

Hi

You don't do find on an instance of the model, you do it on the model itself. So your find should be

Stuff.find( :all, :select => 'mp1')

Simon

On Wed, 08 Jul 2009 07:00:47 +0800, Mark Preston

Thanks! worked great