Archive | Ruby RSS feed for this section
Think Vitamin

Installing Ruby, Rails, and MySQL on Mac OS X Lion

This is a quick heads-up! I have a blog post up on the Think Vitamin blog on installing Ruby, Rails, and MySQL on Mac OS X Lion. The instructions will also work on Snow Leopard (sorry Leopard users) and it walks through setting up gcc, homebrew, git, and mysql. It also uses RVM to install [...]

Read full storyComments { 3 }

CoffeeScript and Rails 3

After all of the debate with the news that CoffeeScript will be bundled in Rails 3.1, I made a new site: http://doihavetousecoffeescriptinrails.com/. If you’re looking for a real article on the subject, Peter Cooper has a great post on Ruby Inside summarizing Rails 3.1, CoffeeScript, jQuery, and SASS.

Read full storyComments { 0 }
Employee Scheduling Software

Employee Scheduling Software

I’ve been working on this for a while and finally think it’s good enough to release to the world. You can now sign up for my employee scheduling software. Scheduling is employee scheduling software that lets you manage your work schedules quickly and easily. It’s best suited for businesses that have employees that work something [...]

Read full storyComments { 5 }

Rails 3.0 rc2 Notes

With the recent release of Rails 3.0 Release Candidate 2, DHH posted on the official Rails blog to check out the sweet GitHub compare view between the two RCs for detailed information. This list is by no means complete but I made some notes from the commit view, with links where possible, about the bigger [...]

Read full storyComments { 4 }
Rake Tutorial

Rake Tutorial

If you’re developing with Rails you’ve probably encountered rake once or twice. This blog post aims to walk you through where rake came from and an introduction on how to use it effectively in your Rails apps. A Little Bit of History Rake is the project of Jim Weirich. It’s a build tool. For a [...]

Read full storyComments { 56 }

Rails Reminder: DATE_FORMATS

A friend of mine recently asked me about adding time formats to Rails apps. It’s not completely intuitive on how to add new "default" symbols for date and time formats or to get a list of the built in ones. The API has the built-in lists of constants under DATE_FORMATS but it’s a bit difficult [...]

Read full storyComments { 3 }

Using the Rails logger outside of models and controllers

You can use the Rails logger outside of Rails models in at least version 2.3.X and up of Rails. You might be used to doing the following in your models or controllers: logger.info "Some debugging info I want to see in my development log." If you make a regular model that doesn’t inherit from ActiveRecord, [...]

Read full storyComments { 23 }
Getting RSpec and TextMate to play nice

Getting RSpec and TextMate to play nice

Elijah Miller has a great blog post on getting TextMate and RSpec to play nicely together. This is pretty useful for just running specific spec files. Also, did you know you can get TextMate to automatically recognize spec files by naming them with the .spec extension and RSpec will recognize it? Link

Read full storyComments { 0 }