On 21 October 2013 18:35, desbest <[email protected]> wrote: > > At the point of this section > http://ruby.railstutorial.org/chapters/sign-up#sec-signup_failure > clicking the "Create my account" button on the signup form shows the > following image at > > According to the tutorial, I must modify these files to rid myself of the > error. > > app/controllers/users_controller.rb > app/views/users/new.html.erb > app/views/shared/_error_messages.html.erb > app/assets/stylesheets/custom.css.scss > > I made all the modifications (until I saw the working image to the 4 files), > and I still get the error image above when submitting the file, rather than a > page that shows me that I left the fields blank. > > Can you help with this?
Please don't use images, copy/paste the error and short segments of code here. First make sure you have checked the values of any variables (params for example) by checking the values passed in log/development.log and using puts to print values into the server window. Are you using exactly the versions of ruby, rails and gems expected by the tutorial? Colin -- 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 [email protected]. To post to this group, send email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/CAL%3D0gLtYN6_aXXTQhypMV1d4SPv1ZHiC8tQJjBvempOmygLozA%40mail.gmail.com. For more options, visit https://groups.google.com/groups/opt_out.

