Subscribe to RSS

Tag Archives: merb errors

You Cannot Name a Controller Action ’send’ in Merb

I learned this the hard way.

class Main < Application   def send # Do some stuff… end   end

This breaks horribly, even if you’re not navigating to that exact controller action.

~ Request: /favicon.ico ~ Request: ~ Params: {”action”=>”index”, “controller”=>”main”} ~ Routed to: {:action=>”index”, :controller=>”main”} ~ wrong [...]