search for: current_student

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

2013 Jun 22
4
ActiveRecord::Base.transaction - SystemStackError - stack level too deep:
...j4hh0000gn/T/RackMultipart20130604-29589-2c0seo>>}, "action"=>"create", "controller"=>"resources" } **Controller** def create if current_teacher @resource = ResourceObject.create_teacher_resource(params, current_teacher) end if current_student @resource = ResourceObject.create_student_resource(params, current_student) end if current_admin @resource = Resource.new(params[:resource]) end respond_to do |format| if @resource.success format.html { redirect_to @resource, notice: ''Resource was successfully c...