app/models/user.rb
# returns true if the user was active during the indicated month, otherwise returns false.
returns true if the user was active during the indicated month, otherwise returns false.
returns true if the user was active during the indicated month otherwise returns false .
def was_active?(month)
	  return false if month.end_of_month < self.date_active
	  return true if self.status == STATUS_ACTIVE
    return month <= self.date_inactive
	end
def was_active? ( month ) return false if month . end_of_month < self . date_active return true if self . status == STATUS_ACTIVE return month <= self . date_inactive end
returns true if the user was active during the indicated month, otherwise returns false.
returns true if the user was active during the indicated month otherwise returns false .
month
<not_specific>