Maybe it''s just me, but I think "home" might be a better description than "root". Students ask me "how do I indicate which action is my home page," not "how do I indicate which action is my root page." If this sounds appealing I can try to dig through the router code and see if I can submit a PR in time for Rails 4, and make "home" an alias for "root". But if there''s actually a good reason for keeping it as "root," let me know and save me the effort :-) Thanks! Jeff -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Core" group. To unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-core+unsubscribe@googlegroups.com. To post to this group, send email to rubyonrails-core@googlegroups.com. Visit this group at http://groups.google.com/group/rubyonrails-core?hl=en. For more options, visit https://groups.google.com/groups/opt_out.
For a domain, say "example.org", you would call "example.org/" as the "root" domain. The "root" domain points to the "home" page of the website. The idea of "root" should be made clear to students from the beginning. I think, since "root" is not that obscure, we can just let it be ? On Monday, 11 March 2013 04:12:38 UTC+5:30, Jeff Cohen wrote:> > Maybe it''s just me, but I think "home" might be a better description than > "root". Students ask me "how do I indicate which action is my home page," > not "how do I indicate which action is my root page." If this sounds > appealing I can try to dig through the router code and see if I can submit > a PR in time for Rails 4, and make "home" an alias for "root". > > But if there''s actually a good reason for keeping it as "root," let me > know and save me the effort :-) > > Thanks! > Jeff > >-- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Core" group. To unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-core+unsubscribe@googlegroups.com. To post to this group, send email to rubyonrails-core@googlegroups.com. Visit this group at http://groups.google.com/group/rubyonrails-core?hl=en. For more options, visit https://groups.google.com/groups/opt_out.
http://transitionculture.org/wp-content/uploads/bikeshed2.jpg On 11 March 2013 07:23, Apoorv Parijat <apoorvparijat@gmail.com> wrote:> For a domain, say "example.org", you would call "example.org/" as the > "root" domain. The "root" domain points to the "home" page > of the website. The idea of "root" should be made clear to students from > the beginning. > > I think, since "root" is not that obscure, we can just let it be ? > > > On Monday, 11 March 2013 04:12:38 UTC+5:30, Jeff Cohen wrote: >> >> Maybe it''s just me, but I think "home" might be a better description than >> "root". Students ask me "how do I indicate which action is my home page," >> not "how do I indicate which action is my root page." If this sounds >> appealing I can try to dig through the router code and see if I can submit >> a PR in time for Rails 4, and make "home" an alias for "root". >> >> But if there''s actually a good reason for keeping it as "root," let me >> know and save me the effort :-) >> >> Thanks! >> Jeff >> >> -- > You received this message because you are subscribed to the Google Groups > "Ruby on Rails: Core" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to rubyonrails-core+unsubscribe@googlegroups.com. > To post to this group, send email to rubyonrails-core@googlegroups.com. > Visit this group at http://groups.google.com/group/rubyonrails-core?hl=en. > For more options, visit https://groups.google.com/groups/opt_out. > > >-- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Core" group. To unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-core+unsubscribe@googlegroups.com. To post to this group, send email to rubyonrails-core@googlegroups.com. Visit this group at http://groups.google.com/group/rubyonrails-core?hl=en. For more options, visit https://groups.google.com/groups/opt_out.
I''ve had similar questions from students, though I don''t remember if any have specifically addressed it as `home`. What if we added the word "home" to the description of the root path that is included (and commented out) by default after `rails new`? If students don''t read or ctrl-f for "home" in the default routes file, changing the name generated wouldn''t help anyway. Adding aliases could be a can of worms, why not ''welcome'' or ''core'' or ''main'' etc. This is a relatively trivial in the grand scheme of things to discuss, open up a PR (i would prefer documentation for now) and we can talk about it there. -- Richard Schneeman http://heroku.com @schneems (http://twitter.com/schneems) On Monday, March 11, 2013 at 11:11 AM, Ryan Bigg wrote:> http://transitionculture.org/wp-content/uploads/bikeshed2.jpg > > > On 11 March 2013 07:23, Apoorv Parijat <apoorvparijat@gmail.com (mailto:apoorvparijat@gmail.com)> wrote: > > For a domain, say "example.org (http://example.org)", you would call "example.org/ (http://example.org/)" as the "root" domain. The "root" domain points to the "home" page > > of the website. The idea of "root" should be made clear to students from the beginning. > > > > I think, since "root" is not that obscure, we can just let it be ? > > > > > > On Monday, 11 March 2013 04:12:38 UTC+5:30, Jeff Cohen wrote: > > > Maybe it''s just me, but I think "home" might be a better description than "root". Students ask me "how do I indicate which action is my home page," not "how do I indicate which action is my root page." If this sounds appealing I can try to dig through the router code and see if I can submit a PR in time for Rails 4, and make "home" an alias for "root". > > > > > > But if there''s actually a good reason for keeping it as "root," let me know and save me the effort :-) > > > > > > Thanks! > > > Jeff > > > > > -- > > You received this message because you are subscribed to the Google Groups "Ruby on Rails: Core" group. > > To unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-core+unsubscribe@googlegroups.com (mailto:rubyonrails-core%2Bunsubscribe@googlegroups.com). > > To post to this group, send email to rubyonrails-core@googlegroups.com (mailto:rubyonrails-core@googlegroups.com). > > Visit this group at http://groups.google.com/group/rubyonrails-core?hl=en. > > For more options, visit https://groups.google.com/groups/opt_out. > > > > > > -- > You received this message because you are subscribed to the Google Groups "Ruby on Rails: Core" group. > To unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-core+unsubscribe@googlegroups.com (mailto:rubyonrails-core+unsubscribe@googlegroups.com). > To post to this group, send email to rubyonrails-core@googlegroups.com (mailto:rubyonrails-core@googlegroups.com). > Visit this group at http://groups.google.com/group/rubyonrails-core?hl=en. > For more options, visit https://groups.google.com/groups/opt_out. > >-- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Core" group. To unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-core+unsubscribe@googlegroups.com. To post to this group, send email to rubyonrails-core@googlegroups.com. Visit this group at http://groups.google.com/group/rubyonrails-core?hl=en. For more options, visit https://groups.google.com/groups/opt_out.
Another point to take into account is that the "root" route can be used for any namespace, which is the "root" for that particular namespace. With no namespace, it''s the "root" page, ou home page as you say. On Mon, Mar 11, 2013 at 1:54 PM, Richard Schneeman < richard.schneeman@gmail.com> wrote:> I''ve had similar questions from students, though I don''t remember if any > have specifically addressed it as `home`. What if we added the word "home" > to the description of the root path that is included (and commented out) by > default after `rails new`? If students don''t read or ctrl-f for "home" in > the default routes file, changing the name generated wouldn''t help anyway. > > Adding aliases could be a can of worms, why not ''welcome'' or ''core'' or > ''main'' etc. This is a relatively trivial in the grand scheme of things to > discuss, open up a PR (i would prefer documentation for now) and we > can talk about it there. > > -- > Richard Schneeman > http://heroku.com > @schneems <http://twitter.com/schneems> > > On Monday, March 11, 2013 at 11:11 AM, Ryan Bigg wrote: > > http://transitionculture.org/wp-content/uploads/bikeshed2.jpg > > > On 11 March 2013 07:23, Apoorv Parijat <apoorvparijat@gmail.com> wrote: > > For a domain, say "example.org", you would call "example.org/" as the > "root" domain. The "root" domain points to the "home" page > of the website. The idea of "root" should be made clear to students from > the beginning. > > I think, since "root" is not that obscure, we can just let it be ? > > > On Monday, 11 March 2013 04:12:38 UTC+5:30, Jeff Cohen wrote: > > Maybe it''s just me, but I think "home" might be a better description than > "root". Students ask me "how do I indicate which action is my home page," > not "how do I indicate which action is my root page." If this sounds > appealing I can try to dig through the router code and see if I can submit > a PR in time for Rails 4, and make "home" an alias for "root". > > But if there''s actually a good reason for keeping it as "root," let me > know and save me the effort :-) > > Thanks! > Jeff > > -- > You received this message because you are subscribed to the Google Groups > "Ruby on Rails: Core" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to rubyonrails-core+unsubscribe@googlegroups.com. > To post to this group, send email to rubyonrails-core@googlegroups.com. > Visit this group at http://groups.google.com/group/rubyonrails-core?hl=en. > For more options, visit https://groups.google.com/groups/opt_out. > > > > > -- > You received this message because you are subscribed to the Google Groups > "Ruby on Rails: Core" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to rubyonrails-core+unsubscribe@googlegroups.com. > To post to this group, send email to rubyonrails-core@googlegroups.com. > Visit this group at http://groups.google.com/group/rubyonrails-core?hl=en. > For more options, visit https://groups.google.com/groups/opt_out. > > > > > -- > You received this message because you are subscribed to the Google Groups > "Ruby on Rails: Core" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to rubyonrails-core+unsubscribe@googlegroups.com. > To post to this group, send email to rubyonrails-core@googlegroups.com. > Visit this group at http://groups.google.com/group/rubyonrails-core?hl=en. > For more options, visit https://groups.google.com/groups/opt_out. > > >-- At. Carlos Antonio -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Core" group. To unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-core+unsubscribe@googlegroups.com. To post to this group, send email to rubyonrails-core@googlegroups.com. Visit this group at http://groups.google.com/group/rubyonrails-core?hl=en. For more options, visit https://groups.google.com/groups/opt_out.
On 10 March 2013 22:42, Jeff Cohen <cohen.jeff@gmail.com> wrote:> Maybe it''s just me, but I think "home" might be a better description than > "root". Students ask me "how do I indicate which action is my home page," > not "how do I indicate which action is my root page." If this sounds > appealing I can try to dig through the router code and see if I can submit a > PR in time for Rails 4, and make "home" an alias for "root".If the students have difficulty with understanding the concept of the home page being at the root of the site then I think there is little hope for them as they get into the details of Rails. Colin -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Core" group. To unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-core+unsubscribe@googlegroups.com. To post to this group, send email to rubyonrails-core@googlegroups.com. Visit this group at http://groups.google.com/group/rubyonrails-core?hl=en. For more options, visit https://groups.google.com/groups/opt_out.
On Monday, 11 March 2013 12:29:02 UTC-5, Colin Law wrote:> > If the students have difficulty with understanding the concept of the > home page being at the root of the site then I think there is little > hope for them as they get into the details of Rails. >Never said it was difficult. They master the details of Rails just fine. But I lover the fact the Rails uses a smattering of English-like DSL usage throughout, and "root" stands out to me as something that might be improved upon. On Monday, 11 March 2013 12:29:02 UTC-5, Colin Law wrote:> > On 10 March 2013 22:42, Jeff Cohen <cohen...@gmail.com <javascript:>> > wrote: > > Maybe it''s just me, but I think "home" might be a better description > than > > "root". Students ask me "how do I indicate which action is my home > page," > > not "how do I indicate which action is my root page." If this sounds > > appealing I can try to dig through the router code and see if I can > submit a > > PR in time for Rails 4, and make "home" an alias for "root". > > If the students have difficulty with understanding the concept of the > home page being at the root of the site then I think there is little > hope for them as they get into the details of Rails. > > Colin >-- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Core" group. To unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-core+unsubscribe@googlegroups.com. To post to this group, send email to rubyonrails-core@googlegroups.com. Visit this group at http://groups.google.com/group/rubyonrails-core?hl=en. For more options, visit https://groups.google.com/groups/opt_out.
On Monday, 11 March 2013 11:54:14 UTC-5, richard schneeman wrote:> I''ve had similar questions from students, though I don''t remember if any > have specifically addressed it as `home`. What if we added the word "home" > to the description of the root path that is included (and commented out) by > default after `rails new`? If students don''t read or ctrl-f for "home" in > the default routes file, changing the name generated wouldn''t help anyway. > > Adding aliases could be a can of worms, why not ''welcome'' or ''core'' or > ''main'' etc. This is a relatively trivial in the grand scheme of things to > discuss, open up a PR (i would prefer documentation for now) and we > can talk about it there. > >Good points. Perhaps I''ll instead contribute something to the Guides on the topic?> -- > Richard Schneeman > http://heroku.com > @schneems <http://twitter.com/schneems> > > On Monday, March 11, 2013 at 11:11 AM, Ryan Bigg wrote: > > http://transitionculture.org/wp-content/uploads/bikeshed2.jpg > > > On 11 March 2013 07:23, Apoorv Parijat <apoorv...@gmail.com <javascript:>>wrote: > > For a domain, say "example.org", you would call "example.org/" as the > "root" domain. The "root" domain points to the "home" page > of the website. The idea of "root" should be made clear to students from > the beginning. > > I think, since "root" is not that obscure, we can just let it be ? > > > On Monday, 11 March 2013 04:12:38 UTC+5:30, Jeff Cohen wrote: > > Maybe it''s just me, but I think "home" might be a better description than > "root". Students ask me "how do I indicate which action is my home page," > not "how do I indicate which action is my root page." If this sounds > appealing I can try to dig through the router code and see if I can submit > a PR in time for Rails 4, and make "home" an alias for "root". > > But if there''s actually a good reason for keeping it as "root," let me > know and save me the effort :-) > > Thanks! > Jeff > > -- > You received this message because you are subscribed to the Google Groups > "Ruby on Rails: Core" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to rubyonrails-co...@googlegroups.com <javascript:>. > To post to this group, send email to rubyonra...@googlegroups.com<javascript:> > . > Visit this group at http://groups.google.com/group/rubyonrails-core?hl=en. > For more options, visit https://groups.google.com/groups/opt_out. > > > > > -- > You received this message because you are subscribed to the Google Groups > "Ruby on Rails: Core" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to rubyonrails-co...@googlegroups.com <javascript:>. > To post to this group, send email to rubyonra...@googlegroups.com<javascript:> > . > Visit this group at http://groups.google.com/group/rubyonrails-core?hl=en. > For more options, visit https://groups.google.com/groups/opt_out. > > > > >-- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Core" group. To unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-core+unsubscribe@googlegroups.com. To post to this group, send email to rubyonrails-core@googlegroups.com. Visit this group at http://groups.google.com/group/rubyonrails-core?hl=en. For more options, visit https://groups.google.com/groups/opt_out.