add changes_applied for ActiveRecord under 4