Re: [Rails-core] Feature Request: form associated element

2014-10-14 Thread Matt Jones
On Oct 13, 2014, at 10:34 PM, Khoa Nguyen huu.khoa.ngu...@gmail.com wrote: As far as I know, Rails doesn't generate form attribute for input control tags because it's assumed that form content is captured and rendered within a block. # typical rails form usage %= form_for(object) do |f|

Re: [Rails-core] Feature Request: form associated element

2014-10-14 Thread Nicolas Cavigneaux
Le 14 oct. 2014 à 14:29, Matt Jones al2o...@gmail.com a écrit : Haven't tried it, but does explicitly adding `form: 'whatever_your_form_id_is'` to the `html_options` for an input tag do the right thing? Yes it does work, you can pass any html attribute you want and it will be use as-is.

[Rails-core] rescue_from with block causes memory leak

2014-10-14 Thread Lazarus Lazaridis
I wrote the following post about how a rescue_from in a controller causes memory leak http://arubystory.blogspot.com/2014/10/rails-32-rescue-from-memory-leak.html due to symbol creations. http://arubystory.blogspot.com/2014/10/rails-32-rescue-from-memory-leak.html -- You received this