Category: WebDev & Code

  • 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…

  • Automatic backups of my windows laptop

    Backups are important. This tenet will be learned the first time you lose important files. Knowledge in itself is useless, it’s the application knowledge that reaps rewards. Having learnt many years ago the cost of losing data from a computer, I’ve become a dab hand at setting up backup routines for my laptop, desktops and…