<HTML><BODY style="word-wrap: break-word; -khtml-nbsp-mode: space; -khtml-line-break: after-white-space; ">It seems you are missing an end somewhere as in<DIV>def create</DIV><DIV><SPAN class="Apple-tab-span" style="white-space:pre">     </SPAN>some code here</DIV><DIV>end</DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV>but without the code this is hard to tell.</DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV>If you indent your code properly it should be immediately apparent where it is.</DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV>Frederik</DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV><DIV><DIV>On 24 Apr 2007, at 23:16, Thomas Tilley wrote:</DIV><BR class="Apple-interchange-newline"><BLOCKQUOTE type="cite">So i am new to ruby and to programming/web design in general. Using a RoR tutorial and get the following error displayed on my browser when I try to view the user registration form: <BR><H1>  SyntaxError      in UserController#register  </H1> <PRE>app/controllers/user_controller.rb:14: syntax error, unexpected $end, expecting kEND<BR></PRE><BR><BR>How can i work out whats wrong!<BR><BR>Thanks<BR><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">_______________________________________________</DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">chat mailing list</DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><A href="mailto:chat@lrug.org">chat@lrug.org</A></DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><A href="http://lists.lrug.org/listinfo.cgi/chat-lrug.org">http://lists.lrug.org/listinfo.cgi/chat-lrug.org</A></DIV> </BLOCKQUOTE></DIV><BR></DIV></BODY></HTML>