Ruby on Rails
Monday, December 28, 2015
now its become error
On Sunday, December 27, 2015 at 9:28:37 PM UTC+8, James Jelinek wrote:
-- ExecJS::ProgramError in Users#index
Showing D:/RailsInstaller/toy_app/app/views/layouts/application.html.erb where line #5 raised:
TypeError: Object doesn't support this property or method
Rails.root: D:/RailsInstaller/toy_app
app/views/layouts/application.html.erb:5:in `_app_views_layouts_application_html_erb___615946876_51123720'
On Sunday, December 27, 2015 at 9:28:37 PM UTC+8, James Jelinek wrote:
It looks like you created a view folder but do not have a controller action or route to match. You'll want to setup a route on config/routes.rb to match a controller action. The tutorial should walk you through this but you can also see the routing guide in the rails guides on rubyonrails.org.hello there,--
im willy, i just trying use ruby for first time
a have problem when i make directory,
i follow the video tutor from M. Hartl , i can open the localhost:3000
but when i go deeper and make directory D:\RailsInstaller\toy_app\app\views\users
i open localhost:3000/users and show like this
Routing Error
No route matches [GET] "/Users"
Rails.root: D:/RailsInstaller/toy_app
any advice ?
sry bad english
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-ta...@googlegroups.com .
To post to this group, send email to rubyonra...@googlegroups.com .
To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/ .c48cfac1-6d52-4a6b-bbd2- 1d58b0baea03%40googlegroups. com
For more options, visit https://groups.google.com/d/optout .
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/e2988798-f64b-48dd-a0f3-a27d5b07c261%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment