Archive for the ‘Web Development’ Category

Getting VIM setup for Ruby on Rails

October 3rd, 2011 at 9:39 pm No Comments

I just got started using Vim for Ruby on Rails development. Here are some of my notes on how I got started. Please note that this is more of a (rough) guide on how to get Vim setup for Ruby on Rails than it is how to use it.
Read the rest of this entry »

Quick Tip: Methods in Ruby

August 18th, 2011 at 11:29 pm No Comments

Here are some quick tips to keep in mind when coding new methods in Ruby.
Read the rest of this entry »

How to fix the “msvcrt-ruby18.dll is missing from your computer” error message in Ruby on Rails

November 11th, 2010 at 1:09 pm 10 Comments

Here’s how to fix that annoying Ruby on Rails popup message: “The program can’t start because msvcrt-ruby18.dll is missing from your computer. Try reinstalling the program to fix this problem.”

This fix applies if you’re using cucumber on Windows.
Read the rest of this entry »

How to create a virtual directory in Apache

October 1st, 2010 at 4:45 pm No Comments

Suppose you’re working on your local machine. You’re running Apache/PHP or an all-on-one package like XAMPP. You have a bunch of websites, but you don’t want to store them all under Apache’s webroot. Maybe some of your websites use PHP and you want to test them locally in your browser.

Here’s how to map a directory so you can access it via Apache without it being in the webroot.
Read the rest of this entry »

How to fix a “sqlite3.dll missing” error message in Ruby on Rails

August 5th, 2010 at 2:10 pm 35 Comments

Here’s a little reminder for myself on how I fixed the “sqlite3.dll missing” error message I was getting while setting up a new Ruby on Rails environment.
Read the rest of this entry »

How to create migrations in Ruby on Rails that only run in the development enviroment

February 13th, 2010 at 12:52 am 1 Comment

This is a reminder for myself for when I want to use a migration to create test data for the development environment only.
Read how »

How to add a delay to a jQuery animation

January 15th, 2010 at 3:41 pm No Comments

A couple of days ago, I was looking for a way to add a pause after an animation was triggered. This was before jQuery 1.4 was released. I found a couple of solutions including using the javascript function setTimeout or some people would imitate a delay by setting an animation for the desired number of seconds that doesn’t change anything. Something like this…

Read the rest of this entry »