Update for rails activesupport