search for: products_cat

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

Did you mean: products_az
2006 Apr 20
0
Please help me !
Hi To This Group! I am new to ROR I have some problem in varible acessing in the rb file. I worte the def in the strored controller .rb def products_cat $rid=params[:id] @categories = Category.salable_items @products_id = Product.find(params[:id]) @products = Product.salable_items1(params[:id]) flash[:notice] = "Succesfully" end I want to acess the varible that is in nthe product.rb file that is model def self.sala...