search for: find_stud

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

Did you mean: find_stuff
2011 May 24
4
Rails hates my recursive function
...=>f_name,:lname=>l_name).all else bar=insert_dashes(rec) find_record(bar) end end If I try to enter a string of the for "a12345678" I am greeted with the following error: SystemStackError (stack level too deep): app/controllers/students_controller.rb:19:in `find_student'' Rendered c:/jruby-1.6.1/lib/ruby/gems/1.8/gems/actionpack-3.0.7/lib/action_dispatch/middleware/templates/rescues/_trace.erb (18.0ms) Rendered c:/jruby-1.6.1/lib/ruby/gems/1.8/gems/actionpack-3.0.7/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (41.0ms)...