Re: [Rails] Rendering partial from button click, not passing locals ?

2010-01-07 Thread Curtis Schofield
don't you need to specify %p== #{rows} updated ?? On Thu, Jan 7, 2010 at 1:52 PM, Aldric Giacomoni wrote: > I wrote the relevant code in this pastie: > http://pastie.org/770642 > (it's not too much code -- but it looks a ton better than black on > white!) > > And here is the bit from my log: > >

Re: [Rails] Rendering partial from button click, not passing locals ?

2010-01-07 Thread tommy xiao
best choice is ajax 2010/1/8 Aldric Giacomoni > I wrote the relevant code in this pastie: > http://pastie.org/770642 > (it's not too much code -- but it looks a ton better than black on > white!) > > And here is the bit from my log: > > Processing UltrasoundsController#index (for 127.0.0.1 at 20

[Rails] Rendering partial from button click, not passing locals ?

2010-01-07 Thread Aldric Giacomoni
I wrote the relevant code in this pastie: http://pastie.org/770642 (it's not too much code -- but it looks a ton better than black on white!) And here is the bit from my log: Processing UltrasoundsController#index (for 127.0.0.1 at 2010-01-07 10:32:03) [GET] Rendering template within layouts/appl