The same functionality implemented on #509 (:as option to local var on
render :partial => 'exercises/_sortable_exercise', :as =>
'exercise', :collection => @exercises
Works! I get an 'exercise' object, as expected. But...
page.insert_html :bottom, "exercises", :partial => 'exercises/
_sortable_exercise', :as => 'exercise', :object => @exercise
I still get the same 'sortable_exercise' object instead of 'exercise'.
Am I doing something wrong?