Category Archives: Ruby on Rails

Symbols in Ruby

When I started to work with Ruby I was puzzled by the symbol – text preceded by a colon character, as in session[:cart] What exactly is a symbol, I wondered? And why is it used? I set out to find … Continue reading

Posted in Ruby on Rails | Leave a comment

Creating a Rails 3 Project with PostgreSQL and TextMate on a Mac OS X Machine

I was advised to use RVM to manage Ruby on the Mac. Sign up as an Apple developer Download and install XCode Follow the instructions for installing RVM. Install RVM by executing $ bash < <( curl http://rvm.beginrescueend.com/releases/rvm-install-head ) in … Continue reading

Posted in PostgreSQL, Ruby on Rails | Leave a comment

Creating a Rails 3 Project with RubyMine and PostgreSQL on a Windows 7 Machine

Ruby gems and Windows don’t always get on – only try doing Rails projects on a Windows 7 machine if you’re feeling brave. Downloads: RubyMine RubyInstaller for Windows (contains RubyGems, so you don’t need to download the gems separately) In … Continue reading

Posted in Ruby on Rails | 1 Comment