lib/access/response.rb in access-2.2.0 vs lib/access/response.rb in access-2.3.0.pre.rc1

- old
+ new

@@ -164,10 +164,10 @@ class UserResponse < Response def process_data if @members && @members.any? @members = Access::Member.process_batch(@members) - @users = @members.map {|x| x if x.try(:user) }.compact + @users = @members.map { |x| x unless x.user.nil? }.compact elsif @users && @users.any? @users = Access::User.process_batch(@users) end end end