Stupid Error That I will Blame on Lack of Sleep

So if you are ever working oh so hard on a ruby on rails application and all of a sudden your application stops working and you have no idea why because the error looks like this:

/!\ FAILSAFE /!\  Mon Nov 12 17:27:15 -0700 2007
  Status: 500 Internal Server Error
  wrong number of arguments (1 for 0)
action_controller/base.rb:513:in `send'

Step back.  Call yourself and idiot and remove the method you just added because you can't ever name a method 'send' in your controller because it overrides default functionality and then pukes all over the place.

Bad programmer ... bad bad programmer.

Leave a Reply