ruby - Rails: 500 error page showing up instead of back trace or debug page in development -


the problem: every time start rails server in development , navigate page has error, 500 error page instead of trace page details specific error , line can found.

for example: navigate http://localhost:3000/articles/new, , this:

500 internal server error web server cannot perform request. please try again later.

things have done avoid this:

(1) commented out in environments/production.rb

#consider_all_requests_local = false  #config.action_controller.perform_caching = true 

(2) ensured in environments/development.rb

config.consider_all_requests_local = true 

log files:

started post "/articles" 127.0.0.1 @ 2015-06-19 21:40:19 -0700 processing articlescontroller#create html parameters: {"utf8"=>"✓", "authenticity_token"=>"iiavgs285snzmcs32nne4wqnfcizjifeb8kn/6j7wac=", "article"=>{"title"=>"dog", "text"=>"home"}, "commit"=>"save article"} completed 500 internal server error in 8ms

actionview::missingtemplate (missing template articles/create, application/create {:locale=>[:en], :formats=>[:html], :handlers=>[:erb, :builder, :raw, :ruby, :jbuilder, :coffee]}. searched in: * "c:/users/harry/rails_projects/blog/app/views" ): app/controllers/articles_controller.rb:7:in `create'

rendered c:/railsinstaller/ruby2.0.0/lib/ruby/gems/2.0.0/gems/actionpack-4.0.3/lib/action_dispatch/middleware/templates/rescues/missing_template.erb within rescues/layout (0.0ms)


Comments

Popular posts from this blog

powershell Start-Process exit code -1073741502 when used with Credential from a windows service environment -

twig - Using Twigbridge in a Laravel 5.1 Package -

c# - LINQ join Entities from HashSet's, Join vs Dictionary vs HashSet performance -