Support for Rails 3.x
Merge pull request #16 from naveda89/master

Added Rails 3.x support