Changing attr_accessible to attr_protected into notification class