events changed and activerecord class