Re: [Rails-core] Reverting of 6acebb3: Allow loading external route files from the router

302 views
Skip to first unread message

Rafael Mendonça França

unread,
Aug 15, 2012, 10:40:03 AM8/15/12
to rubyonra...@googlegroups.com
It was reverted in favor of https://github.com/rails/rails/compare/fa736e69a197...2d9dbf416b14

Rafael Mendonça França
http://twitter.com/rafaelfranca
https://github.com/rafaelfranca



On Wed, Aug 15, 2012 at 9:44 AM, kuraga <kura...@mail.ru> wrote:
Good day!

Commit https://github.com/rails/rails/commit/6acebb38bc0637bc05c19d87f8767f16ce79189b were reverted. But I find loading external route files from the router a useful feature. It helps to split Rails-app by components.

I didn't find any discussion or comments about this feature. I'll be pleasured for some comments differ from 'this feature isn't good' very much. May be little comment :)

Thanx :)

--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Core" group.
To view this discussion on the web visit https://groups.google.com/d/msg/rubyonrails-core/-/drWocSUdABwJ.
To post to this group, send email to rubyonra...@googlegroups.com.
To unsubscribe from this group, send email to rubyonrails-co...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/rubyonrails-core?hl=en.


kuraga

unread,
Aug 16, 2012, 2:43:09 AM8/16/12
to rubyonra...@googlegroups.com
It's excellent but something else... I say about an idea to have code of different component in different files... For instance we have an option to load locales from dir and subdirs. Why don't we want to have a simillar option for routes?

среда, 15 августа 2012 г., 18:40:03 UTC+4 пользователь Rafael Mendonça França написал:

Pedro Nascimento

unread,
Aug 16, 2012, 7:44:57 AM8/16/12
to rubyonra...@googlegroups.com
You can still do it, it's just that it's not part of the framework yet. It's pretty simple to implement it yourself:
To view this discussion on the web visit https://groups.google.com/d/msg/rubyonrails-core/-/twYIBrIr61YJ.

Steve Klabnik

unread,
Aug 16, 2012, 9:37:56 AM8/16/12
to rubyonra...@googlegroups.com
Rails is just Ruby after all.
Reply all
Reply to author
Forward
0 new messages