Keith Schacht’s Weblog

Subscribe

Dynamic routing to a controller's action. If you have a rails form which has multiple submit buttons such as Publish and Unpublish, you can easily route those to corresponding actions within the controller with this clever hack.

Recent articles