Before anyone can help you, I think you''ll have to show the actual
code you''re using, and the specific error and line on which it is
occurring from the log.
On 04/12/2006, at 9:42 PM, The King of Swag wrote:
>
> For some reason, Model.find just causes errors when I use it. (Causes
> "Application Error (Rails)")
> Here''s the weird part though, I know it''s able to talk to
the
> database,
> because this will work: Command.find(:all), or this command >
Command.find(:all, :conditions => ["name = ?", findByName]) but
> command
> = Command.find(:first, :conditions => ["name = ?",
findByName]) won''t;
> even Command.find(1) will not work, and I''ve double checked the
sql
> table and id is set as the primary_key.
>
>
> >
--~--~---------~--~----~------------~-------~--~----~
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-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
To unsubscribe from this group, send email to
rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
For more options, visit this group at
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---