lib/meibo/role_set.rb in meibo-0.16.0 vs lib/meibo/role_set.rb in meibo-0.17.0

- old
+ new

@@ -7,12 +7,10 @@ each do |role| roster.organizations.find(role.org_sourced_id) roster.users.find(role.user_sourced_id) - if role.user_profile_sourced_id - roster.user_profiles.find(role.user_profile_sourced_id) - end + roster.user_profiles.find(role.user_profile_sourced_id) if role.user_profile_sourced_id end end def primary @cache[:primary] ||= new(select(&:primary?))