> Specifying parameters to actions is something done
> explicitly in other frameworks.  Can be a pain-in-the-ass but is also
> really good for debugging, documentation, etc.


You could always use action args to specify which params are required.

def index(param1, param2)
  ....
end

If one of the params is missing, a Bad Request exception is thrown.

..tony..

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"merb" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/merb?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to