[Nitro] param handling

George Moschovitis george.moschovitis at gmail.com
Wed Oct 25 08:26:37 EDT 2006


> Well, I'm mainly tossing it out here for discussion.  I've not thought
> ...
> In that case, if you have a console app and want to move it to the Web,
> you would then add the controllers, rather than trying use the existing
> classes as controllers.

Perhaps we could keep the current behaviour (the request.params hash
is populated) but if the method signature defines a hash last argument
like this:

def my_action(oid, val, params = {})
end

this could be populated with the request parameters.

what do you think?

-g.


-- 
http://www.gmosx.com
http://www.nitroproject.org


More information about the Nitro-general mailing list