Re: [Rails] Re: javascript code execution on all pages except one.
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 <mrsan...@gmail.com> 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 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.
>
--
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