Displaying 1 result from an estimated 1 matches for "visit_controller".
Did you mean:
visits_controller
2007 Jul 04
1
Expected ... to define
...C:/InstantRails/ruby/lib/ruby/gems/1.8/gems/activesupport-1.4.2/lib/active_support/dependencies.rb:260:in
`load_missing_constant''
C:/InstantRails/ruby/lib/ruby/gems/1.8/gems/activesupport-1.4.2/lib/active_support/dependencies.rb:468:in
`const_missing''
#{RAILS_ROOT}/app/controllers/visit_controller.rb:72:in `delete_lab''
Here is the method causing causing the error:
def delete_lab
@lab_result = Lab_result.find(params[:id])
if @lab_result.destroy
flash[:notice] = "Lab results successfully deleted"
redirect_to :action => ''update'', :id => @...