Hi all,
I want to invite you to check out ResourceAwareness, a small gem that
makes available information about a Rails application’s resources (as
defined by the ‘resource/s’ routing DSL methods) at
Rails.application.resources.
You can find a brief introductory post about it here:
http://blog.ingoweiss.com/2010/05/10/resource-awareness.html
There is also another post with a small example (dynamic ActiveResource
client creation) for the kind of things that are possible once this
resource information is available:
http://blog.ingoweiss.com/2010/05/12/resource-awareness-and-active-resource.html
Best Regards,
Ingo W.