Currently, I''m using custom controller actions for generating reports. Here is an example of one action in the controller. get /reports/service/:year/:period/:month/:modelness/:funder(/*globs) => ''reports#service'' The params are used to get a slice of time (specified by period) of one month, three months, half_year, and full_year. Other controller actions have the same structure. My question is Is there a good way to programmatically generate URLs for these actions or perhaps there is an abstraction I''m missing? Right now, I am having to do <%= link_to "Service", ["/reports", "service", fiscal_year, month, funder, *globs].join("/") %> and I need to know whether the "service" action is being selected so I can highlight it as "active." Example here: http://pastebin.com/ukGXacWw The pastepin is slightly different, as I was in the middle of rewriting everything to move away from using "show" action for everything and instead to create custom actions for each distinct report. Sorry if I''m a bit difficult to understand. It''s difficult to articulate. -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To view this discussion on the web visit https://groups.google.com/d/msg/rubyonrails-talk/-/gH45r0prrP4J. For more options, visit https://groups.google.com/groups/opt_out.