app/models/membership_comp.rb in artfully_ose-1.2.0.pre.23 vs app/models/membership_comp.rb in artfully_ose-1.2.0.pre.24
- old
+ new
@@ -7,9 +7,10 @@
validate :people_belong_to_this_org,
:expiration_date_cannot_be_in_the_past,
:we_have_some_people
validates :number_of_memberships, numericality: true
+ validates :membership_type, presence: true
attr_accessor :people,
:person_id,
:segment_id,
:search_id,
\ No newline at end of file