Ask A Question

Notifications

You’re not receiving notifications from this thread.

Improving the Rails Route Generator Discussion

good

Reply

Did you consider automatically generating the sentinel if a pre-existing namespace was used? That way the API of the route method can remain unchanged, but you still solve the issue of having duplicated namespace definitions.

Alternatively a route_namespace method that accepts a block might work to. Something like this:

route_namespace :madmin do
  route …
  route …
end
Reply

I find this quite inspiring haha! Nice work!

Reply

we’d like develop extra techniques in this regard,

Reply

I found that haha pretty inspiring! Good job!

Reply
Join the discussion
Create an account Log in

Want to stay up-to-date with Ruby on Rails?

Join 86,796+ developers who get early access to new tutorials, screencasts, articles, and more.

    We care about the protection of your data. Read our Privacy Policy.