It should work in partials, but will not work if you are rendering the partial 
in an ajax call

On Dec 22, 2010, at 1:58 PM, E. Litwin wrote:

> On Dec 22, 11:37 am, Mauro <[email protected]> wrote:
> 
>> Can I use content_for in a partial too?
> 
> Are you asking because you tried it and it didn't work?
> 
> I don't see anything in the documentation that indicates it would NOT
> work in a partial.
> 
> -- 
> 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.
> 

-- 
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