I've been using Rails for about 4 years and have often wondered why it doesn't implement the following concept; a Rails controller could define a method like:
def mymethod(a, b)
and if you invoked the method with mymethod&a=14&b=hi that Rails would automatically set the variable "a'" to "14" and "b" to "hi".
Right now, you have to write methods like:
a = params[:a]
b = params[:b]
Does anyone have any insight into why Rails doesn't support this?