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 <[email protected] <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 <[email protected]> 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 >> [email protected]<javascript:> >> . >> To unsubscribe from this group, send email to >> [email protected] <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 [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/rubyonrails-core?hl=en.
