lib/bright/sis_apis/skyward.rb in bright-1.2.3 vs lib/bright/sis_apis/skyward.rb in bright-1.3
- old
+ new
@@ -166,10 +166,11 @@
:middle_name => user_params["MiddleName"],
:last_name => user_params["LastName"],
:sis_student_id => user_params["DisplayId"],
:state_student_id => user_params["StateId"],
:projected_graduation_year => user_params["GradYr"],
- :gender => user_params["Gender"],
+ # To avoid a mismatch of attributes, we'll ignore for now
+ # :gender => user_params["Gender"],
:hispanic_ethnicity => user_params["HispanicLatinoEthnicity"],
:relationship_type => user_params["RelationshipType"]
}.reject{|k,v| v.blank?}
unless user_params["DateOfBirth"].blank?
user_data_hsh[:birth_date] = Date.parse(user_params["DateOfBirth"]).to_s