rails 4 friendly

RAILS_CACHE variable deprecated,
replaced with Rails.cache