Added support for Rails