Ruby on Rails Tuesday, June 26, 2018

1. Inside project folder
2. Postgresql server is running
3. at Localhost:3000 -> is working (Yay! You're on Rails!)


I'm unable to get beyond this page. So I can actually see the app, like it looks on the live feed. 

routes.rb

Rails.application.routes.draw do
     get 'welcome/index'

 resources :feedbacks, only: [:post]


$ Rake Routes
 Prefix Verb URI Pattern                                                                              Controller#Action
            welcome_index GET  /welcome/index(.:format)                                                                 welcome#index
       rails_service_blob GET  /rails/active_storage/blobs/:signed_id/*filename(.:format)                               active_storage/blobs#show
rails_blob_representation GET  /rails/active_storage/representations/:signed_blob_id/:variation_key/*filename(.:format) active_storage/representations#show
       rails_disk_service GET  /rails/active_storage/disk/:encoded_key/*filename(.:format)                              active_storage/disk#show
update_rails_disk_service PUT  /rails/active_storage/disk/:encoded_token(.:format)                                      active_storage/disk#update
     rails_direct_uploads POST /rails/active_storage/direct_uploads(.:format)                                           active_storage/direct_uploads#create


I should be able to view my app from 

localhost:3000/welcome/index 

I get a Welcome Controller Error! 

Please Help!

--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-talk+unsubscribe@googlegroups.com.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/d6107b28-365e-4c9e-a127-02d502f4dd70%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

No comments:

Post a Comment