search for: itemdesigns

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

Did you mean: itemdesign
2005 Nov 18
6
wrong number of arguments (2 for 1) error message help
...ent.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 < ActiveRecord::Base attr_accessor :table_name def self.fi...