search for: rate_professors_index_path

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

2012 May 21
1
Active Admin help
...x this.......?It will be great...... here are my codes.. in rate_professors controller:(1:n relationship) def create @professor=Professor.find(params[:id]) @rate_professor =@professor.rate_professors.build(params[:rate_professor]) if @rate_professor.save redirect_to rate_professors_index_path(:id=> @professor.id) end end end def index @professor=Professor.find(params[:id]) @rate_professor =@professor.rate_professors.build end -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" gr...