add support for Rails