Saturday, January 23, 2010

Re: [Rails] Re: Rails Render Issue

On 23 January 2010 07:20, senling <senthilupkm@gmail.com> wrote:
> Controller name user.
>
> I have changed to user/index, still same error.
>
> Development.log:
> ****************
>
> Processing UserController#index (for 192.168.1.5 at 2010-01-23
> 00:09:08) [GET]
> Rendering template within layouts/standard
> Rendering user/index
>
> ActionView::TemplateError (Missing template sandbox/_index.erb in view
> path app/views) on line #4 of app/views/user/index.html.erb:
> 1: <title>Sura Systems</title>
> 2:
> 3: <%if logged_in? %>
> 4: <%=render "sandbox/index"%>

That is looking for sandbox/_index.erb, which you have apparently not provided

Colin

--
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@googlegroups.com.
To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home


Real Estate