kuraga
2012-Aug-15 12:44 UTC
Reverting of 6acebb3: Allow loading external route files from the router
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 rubyonrails-core@googlegroups.com. To unsubscribe from this group, send email to rubyonrails-core+unsubscribe@googlegroups.com. For more options, visit this group at http://groups.google.com/group/rubyonrails-core?hl=en.
Rafael Mendonça França
2012-Aug-15 14:40 UTC
Re: Reverting of 6acebb3: Allow loading external route files from the router
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 <kuraga333@mail.ru> wrote:> Good day! > > Commit > https://github.com/rails/rails/commit/6acebb38bc0637bc05c19d87f8767f16ce79189bwere 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 rubyonrails-core@googlegroups.com. > To unsubscribe from this group, send email to > rubyonrails-core+unsubscribe@googlegroups.com. > For more options, visit this group at > http://groups.google.com/group/rubyonrails-core?hl=en. > >-- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Core" group. To post to this group, send email to rubyonrails-core@googlegroups.com. To unsubscribe from this group, send email to rubyonrails-core+unsubscribe@googlegroups.com. For more options, visit this group at http://groups.google.com/group/rubyonrails-core?hl=en.
kuraga
2012-Aug-16 06:43 UTC
Re: Reverting of 6acebb3: Allow loading external route files from the router
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 написал:> > 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 <javascript:>>wrote: > >> Good day! >> >> Commit >> https://github.com/rails/rails/commit/6acebb38bc0637bc05c19d87f8767f16ce79189bwere 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<javascript:> >> . >> To unsubscribe from this group, send email to >> rubyonrails-co...@googlegroups.com <javascript:>. >> For more options, visit this group at >> http://groups.google.com/group/rubyonrails-core?hl=en. >> >> >-- 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/-/twYIBrIr61YJ. To post to this group, send email to rubyonrails-core@googlegroups.com. To unsubscribe from this group, send email to rubyonrails-core+unsubscribe@googlegroups.com. For more options, visit this group at http://groups.google.com/group/rubyonrails-core?hl=en.
Pedro Nascimento
2012-Aug-16 11:44 UTC
Re: Reverting of 6acebb3: Allow loading external route files from the router
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: https://gist.github.com/2587565 On Thu, Aug 16, 2012 at 3:43 AM, kuraga <kuraga333@mail.ru> wrote:> 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 написал: >> >> It was reverted in favor of https://github.com/rails/** >> rails/compare/fa736e69a197...**2d9dbf416b14<https://github.com/rails/rails/compare/fa736e69a197...2d9dbf416b14> >> >> Rafael Mendonça França >> http://twitter.com/**rafaelfranca <http://twitter.com/rafaelfranca> >> https://github.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/** >>> 6acebb38bc0637bc05c19d87f8767f**16ce79189b<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<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<http://groups.google.com/group/rubyonrails-core?hl=en> >>> . >>> >>> >> -- > 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/-/twYIBrIr61YJ. > > To post to this group, send email to rubyonrails-core@googlegroups.com. > To unsubscribe from this group, send email to > rubyonrails-core+unsubscribe@googlegroups.com. > For more options, visit this group at > http://groups.google.com/group/rubyonrails-core?hl=en. >-- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Core" group. To post to this group, send email to rubyonrails-core@googlegroups.com. To unsubscribe from this group, send email to rubyonrails-core+unsubscribe@googlegroups.com. For more options, visit this group at http://groups.google.com/group/rubyonrails-core?hl=en.
Steve Klabnik
2012-Aug-16 13:37 UTC
Re: Reverting of 6acebb3: Allow loading external route files from the router
Rails is just Ruby after all. -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Core" group. To post to this group, send email to rubyonrails-core@googlegroups.com. To unsubscribe from this group, send email to rubyonrails-core+unsubscribe@googlegroups.com. For more options, visit this group at http://groups.google.com/group/rubyonrails-core?hl=en.
Mikhail Bortnyk
2012-Aug-17 13:09 UTC
Re: Reverting of 6acebb3: Allow loading external route files from the router
It''s pretty simple, but doesn''t reloads included files in development. But Steve is right, Rails is Ruby after all, so it''s simple to implement such behavior using ActionDispatch::Reloader. четверг, 16 августа 2012 г., 14:44:57 UTC+3 пользователь Pedro Nascimento написал:> > 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: > https://gist.github.com/2587565 > > On Thu, Aug 16, 2012 at 3:43 AM, kuraga <kura...@mail.ru <javascript:>>wrote: > >> 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 написал: >>> >>> It was reverted in favor of https://github.com/rails/** >>> rails/compare/fa736e69a197...**2d9dbf416b14<https://github.com/rails/rails/compare/fa736e69a197...2d9dbf416b14> >>> >>> Rafael Mendonça França >>> http://twitter.com/**rafaelfranca <http://twitter.com/rafaelfranca> >>> https://github.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/** >>>> 6acebb38bc0637bc05c19d87f8767f**16ce79189b<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<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<http://groups.google.com/group/rubyonrails-core?hl=en> >>>> . >>>> >>>> >>> -- >> 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/-/twYIBrIr61YJ. >> >> To post to this group, send email to rubyonra...@googlegroups.com<javascript:> >> . >> To unsubscribe from this group, send email to >> rubyonrails-co...@googlegroups.com <javascript:>. >> For more options, visit this group at >> http://groups.google.com/group/rubyonrails-core?hl=en. >> > >-- 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/-/tllhrWzIPr8J. To post to this group, send email to rubyonrails-core@googlegroups.com. To unsubscribe from this group, send email to rubyonrails-core+unsubscribe@googlegroups.com. For more options, visit this group at http://groups.google.com/group/rubyonrails-core?hl=en.