I just started a new application and was wondering what the best
practice for root (-> http://localhost:3000/) is. My landing page is
going to load data from 5 different models and I don’t really know if I
should put a “welcome” action in one of these 5 controllers or create
something like a home/welcome controller.
I usually create a controller home with an index action for this
purpose, and I guess this is what the majority of Rails developers do.
When I began developing in Rails I have also experienced this dilemma,
but then I found this model in the majority of the books I have read.