Mike Mangino
2007-May-02 13:20 UTC
Allow block usage of content_tag outside of ActionView Templates
Can somebody from core take a look at ticket 7857? http:// dev.rubyonrails.org/ticket/7857 It is a very simple patch to content_tag to allow its block form to be used in form builders. This would really help me clean up a lot of code. It has tests and applies cleanly. Without this patch, the block format throws an exception when you try to use it in a form builder. Mike Mangino http://www.elevatedrails.com --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Core" group. To post to this group, send email to rubyonrails-core@googlegroups.com To unsubscribe from this group, send email to rubyonrails-core-unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/rubyonrails-core?hl=en -~----------~----~----~----~------~----~------~--~---
DHH
2007-May-02 22:32 UTC
Re: Allow block usage of content_tag outside of ActionView Templates
> It is a very simple patch to content_tag to allow its block form to > be used in form builders. This would really help me clean up a lot of > code. It has tests and applies cleanly.Applied. Thanks. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Core" group. To post to this group, send email to rubyonrails-core@googlegroups.com To unsubscribe from this group, send email to rubyonrails-core-unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/rubyonrails-core?hl=en -~----------~----~----~----~------~----~------~--~---