Ruby on Rails Monday, November 24, 2014


show us what happens when you run 

tail -f log/development.log 

in a console window while you hit the page in your browser






On Nov 24, 2014, at 1:10 PM, Francisco Bereciartu <lists@ruby-forum.com> wrote:

Hi All,

I'm new in the ruby on rails world. I would like to ask you about any
advice according to this problem

I'm having problems with redirection, I have this line in the routes.rb

root :to => 'welcome#index', :as => 'home'


in the app/controllers folder I have welcome_controller.rb

and in the views/welcome/index.html.erb file

but when I use http://my.domain.com/

I have the 404 page.

but if I use http://my.domain.com/login, it does work.

----

Jason Fleetwood-Boldt
tech@datatravels.com
http://www.jasonfleetwoodboldt.com/writing

All material © Jason Fleetwood-Boldt 2014. Public conversations may be turned into blog posts (original poster information will be made anonymous). Email jason@datatravels.com with questions/concerns about this.

No comments:

Post a Comment