Use SafeLRU on Rails 4