Displaying 1 result from an estimated 1 matches for "item_properti".
Did you mean:
item_property
2008 Apr 23
0
Passing a hidden field to insert_html
I''m trying to pass a hidden field (item_property) to the add_link
helper function but when I do it the process threads start eating up
memory and my computer freezes.
[code=helper.rb]
def add_link(name)
link_to_function name do |page|
page.insert_html :bottom,:partial, :partial => ''item'', :object
=> Item.new(:item_property => "Some text")