Fixing issue #51: Rails 3.0 Support