I have installed active admin and also add my model -controller rate_professor there.......I can add/delete/edit data using active admin ...but if I click on submit button of my form in rate_professor controller ... I can see whatever I added in the index page ........but I don't want to see that one.....I want to find the information(whatever I added by clicking submit button) on the website after reviewing by admin.......Can anyone please help me to fix 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" group. To view this discussion on the web visit https://groups.google.com/d/msg/rubyonrails-talk/-/3-RUTIoYBUcJ. To post to this group, send email to rubyonrails-talk@googlegroups.com. To unsubscribe from this group, send email to rubyonrails-talk+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.