search for: qori

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

Did you mean: ori
2008 Jun 07
5
Can create record but can not update it => has_many through
...0xb71a77e8> Did i miss something to code? I provided the codes below. Please help Thanks, Dida product_controller.rb ====================== def create @product = Product.new(params[:product]) if @product.save unless params[:reciters].blank? @product.reciters << Qori.find(params[:reciters]) end flash[:notice] = ''New product successfully created.'' redirect_to :action => ''index'' else render :action => ''new'' end end def update @product = Product.find(params[:id])...