search for: libro_id

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

Did you mean: libraid
2009 Feb 13
0
THREE MODELS PROBLEM IN 'NEW' ACTION
...nd end map.connect '':controller/:action/:id'' map.connect '':controller/:action/:id.:format'' end *************** my controllers ***************************** class VocabulariosController < ApplicationController def new @libro = Libro.find(params[:libro_id]) @leccion = @libro.lecciones.find(params[:leccion_id]) @vocabulario = @leccion.vocabularios.build(params[:vocabulario]) respond_to do |format| format.html # new.html.erb format.xml { render :xml => @vocabulario } end end def create @libro = Libro.find(para...