On Sep 8, 9:14 pm, Colin Law <clan...@googlemail.com> wrote:
> On 8 September 2010 21:11, Rob Biedenharn <R...@agileconsultingllc.com> wrote:
>
>
>
>
>
> > On Sep 8, 2010, at 3:47 PM, Colin Law wrote:
>
> >> On 8 September 2010 17:58, Bigos <ruby.obj...@googlemail.com> wrote:
>
> >>> ...
> >>> sucess!!!
>
> >>> view:
> >>> <%= render :partial => 'forum_posts/recursive_comments', :object =>
> >>> @forum_post %>
>
> >>> partial:
> >>> <%= link_to 'Reply',{:controller
> >>> => :forum_comments, :action=> :new,:parent_id=> comment.id,:forum =>
> >>> @forum_post.id } %>
>
> >>> The code above works, but still I can't understand why locals => {:foo
> >>> => @bar} doesn't work in this case.
>
> >> I wonder what version of Rails :locals was introduced at. You said
> >> you were using version 2.5, I assumed you meant 2.3.5. (rails -v to
> >> find out).
>
> >> Colin
>
> > It's been there since at least 1.2.2
>
> That's obviously not the problem then, strange. Is this to go down as
> one of the great unsolved mysteries of the universe?
>
> Colin
maybe not, I begin to suspect that I have messed up my rails
installation.
--
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.
No comments:
Post a Comment