Displaying 1 result from an estimated 1 matches for "degree_pag".
Did you mean:
degree_pages
2007 Jul 25
5
editing multiple models in one form
...def index
list
render :action => ''list''
end
# GETs should be safe (see
http://www.w3.org/2001/tag/doc/whenToUseGet.html)
verify :method => :post, :only => [ :destroy, :create, :update ],
:redirect_to => { :action => :list }
def list
@degree_pages, @degrees = paginate :degrees, :per_page => 10
end
def show
@degree = Degree.find(params[:id])
end
def new
@degree = Degree.new
@assigned= Assigned.new(@params[:assigned])
end
def create
#@degree = Degree.new(params[:degree])
#@assigned =Assigned.new(@params[...