Category: WebDev & Code

  • Fresh Ubuntu install could not resolve domains names – and how I fixed it… maybe

    For some time I’ve had trouble installing Ubuntu Server to test things. Affecting 7.10 & 8.04, but only at work and not at home. Strange. Now though, I’ve just figured out what the problem was, at least, I thought I had. At work, we have a gateway/DHCP box (say: 192.168.55.254). When handing out IP addresses,…

  • Ruby woes: NameError and uninitialized constant

    The thing I hate most about learning a new programming language is the time it takes to do the simplest things… something goes wrong and it takes hours to figure it. Sure, it’s worth it once you know but boy do I hate that time consuming learning process. Meet today’s problem. NameError in StoryController#index uninitialized…

  • When learning PHP I spent hours fixing errors simply because I forgot to put a semicolon ‘;’ at the end of a line Creating my first Ruby on Rails application today I’ve just spent hours on one small part just because I forgot the equal ‘=’ sign in the view file where I wanted to…