Rails 4 fix for Gon