I'm working on a small ORM which I'd like to use with merb and I'm stuck on getting routes to recognise my objects.
Running url(:post_comments, :post_id => @post) returns this: posts/ #<Postt:0x242e454>/comments. How can I get the identify method in route.rb (merb-core) to use the @post's id in the route? I'd be grateful for any pointers. Cheers Adam --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "merb" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/merb?hl=en -~----------~----~----~----~------~----~------~--~---
