Displaying 1 result from an estimated 1 matches for "genericelement".
Did you mean:
nsgenericelement
2005 Nov 18
6
wrong number of arguments (2 for 1) error message help
...=> ''new''
end
end
I am creating $itemnew as i could not get the item to pass on to the
page2 action any other way. that code is here (this is where I have
the problem)
# called when the user clicks on next from the first page
def page2
@generic_elements = GenericElement.find(:all)
@newitem = Item.find(:first,
:conditions => "id = ''#{$itemnew.id}'' and user_id =
''#{@user.id}''")
itemtablename = "Item_#{@newitem.id}"
#ItemDesign.new("Item_#{@newitem.id}")
@ite...