renders nothing.
On Sep 20, 12:13 am, Wang Pengcheng <[email protected]> wrote:
> Add a comma or not?
> <%=render :partial, @styles %>
>
> 2009/9/20 Me <[email protected]>
>
>
>
>
>
> > Running rails 2.1.0 when I do this:
>
> > <%= render :partial => 'style', :collection => @styles %>
>
> > I get the collection fine in my index file. When I try the shortcut:
>
> > <%= render :partial �...@styles %>
>
> > I get this error:
>
> > Couldn't find template file for active_record/named_scope/scopes/
> > _scope
>
> > Any ideas??
>
> --
> Code our future
> Name : Wang Pengcheng
> Nick : QJGui
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---