Looks like this is not needed anymore for ActiveRecord 4