Refactoring REST: searching for an abstraction — Luke Redpath

Luke Redpath makes a valiant attempt to DRY up RESTful Rails controllers as he writes Refactoring REST: searching for an abstraction. I can see how this can be very useful if your controller methods follow the simple paths. Good to see some implementation patterns emerge that build on the assumptions that your controller is RESTful.

Popular posts from this blog

Lists and arrays in Dart

Maps and hashes in Dart

Converting Array to List in Scala