Well spotted Fred!
wouldn't this be even easier though:
@blog = Blog.all

Gavin

On Nov 20, 10:23 am, Frederick Cheung <[EMAIL PROTECTED]>
wrote:
> On 20 Nov 2008, at 09:58, Smarty 2k wrote:
>
>
>
> > def form_for_test
> > [EMAIL PROTECTED] Blog.find[:all]
>
> that's wrong. You probably meant Blog.find :all or Blog.find(:all)  
> (which are the same)
>
> Fred
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to