search for: itemdesign

Displaying 1 result from an estimated 1 matches for "itemdesign".

2005 Nov 18
6
wrong number of arguments (2 for 1) error message help
...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}") @itemdesigns = ItemDesign.find_all_elements(itemtablename) render :action => ''page2'' end Now the ItemDesign is a model class that i created myself right now it looks like this in its entirety: class ItemDesign < ActiveRec...