hi,
I tried to find the not null elements from database
@genus_counts = Table.count(:all, :conditions=> {:col1 => params[:gm], :col2
=> nil}, :without => {:col3 => nil})
its not recognising "without" function.
and
@genus_counts = Table.count(:all, :conditions=> {:col1 => params[:gm], :col3
!= nil :col2 => nil})
its not recognising "!=" operator.... Kindly suggest me and correct above
statement.
--
With Regards
Palani Kannan. K
--
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 [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/rubyonrails-talk?hl=en.