Rails 4 compatibility
Rails 4 compatibility