ruby on rails - Micheal Hartl ch 7 -


i new rails , stuck on chapter 7 of michael hartl tutorial. have been geting error after first sign in 7.4.3:

missing partial shared/_error_messages {:locale=>[:en], :formats=>[:html], :variants=>[], :handlers=>[:erb, :builder, :raw, :ruby, :coffee, :jbuilder]}. searched in: * "/usr/local/rvm/gems/ruby-2.2.1/gems/web-console-2.0.0.beta3/lib/action_dispatch/templates" * "/home/ubuntu/workspace/sample_app/app/views" * "/usr/local/rvm/gems/ruby-2.2.1/gems/web-console-2.0.0.beta3/app/views" 

thanks in advance help!

missing partial shared/_error_messages :formats=>[:html], :handlers=>[:erb, :builder, :raw, :ruby, :coffee, :jbuilder]

  • you have missing partial.
  • it should in shared/
  • it should named _error_messages
  • it should have .html extension followed 1 of .erb, .builder, .raw, .ruby, .coffee, .jbuilder

it's pretty straightforward error message.


Comments

Popular posts from this blog

sublimetext3 - what keyboard shortcut is to comment/uncomment for this script tag in sublime -

dataset - MPAndroidchart returning no chart Data available -

post - imageshack API cURL -