lock to Rails 3 - not Rails 4-compatible yet