def create_activity!(*args)
      return unless self.public_activity_enabled?
      options = prepare_settings(*args)

      if call_hook_safe(options[:key].split('.').last)
        reset_activity_instance_options
        return PublicActivity::Adapter.create_activity!(self, options)
      end
    end
def create_activity!(*args)
      return unless self.public_activity_enabled?
      options = prepare_settings(*args)

      if call_hook_safe(options[:key].split('.').last)
        reset_activity_instance_options
        return PublicActivity::Adapter.create_activity!(self, options)
      end
    end
Directly saves activity to database. Works the same as create_activity
 but throws validation error for each supported ORM.

 @see #create_activity