[LRUG] noob question

Frederik Fix frederikfix at eml.cc
Tue Apr 24 16:07:16 PDT 2007


It seems you are missing an end somewhere as in
def create
	some code here
end

but without the code this is hard to tell.

If you indent your code properly it should be immediately apparent  
where it is.

Frederik


On 24 Apr 2007, at 23:16, Thomas Tilley wrote:

> 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:
> SyntaxError in UserController#register
>
> app/controllers/user_controller.rb:14: syntax error, unexpected  
> $end, expecting kEND
>
>
> How can i work out whats wrong!
>
> Thanks
> _______________________________________________
> chat mailing list
> chat at lrug.org
> http://lists.lrug.org/listinfo.cgi/chat-lrug.org

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lrug.org/pipermail/chat-lrug.org/attachments/20070425/53c49ac1/attachment-0003.html>


More information about the Chat mailing list