"Restflection is a Ruby on Rails plugin designed for use in applications
which follow RESTful conventions. It allows you to extract information
about resources without necessarily knowing what they are called.
For example, instead of writing article_path, you could write
restflect(:member).path. Why would you do this? You may have shared
code, for instance layouts or library files, which need to make use of a
resource, but because they operate on any number of different resources,
they cannot refer to them by name. The plugin could also be of use to
Blog post: http://jonathanleighton.com/blog/restflection-rails-plugin
Feedback is always welcome.