Commit a6c9ad699ac902ab68ee1ef4a8f84b7f5bc22cc7

Authored by Tao Huang
1 parent 05f9e65b
Exists in master

fix: scim attribute mapping from controller

app/controllers/scim_rails/scim_users_controller.rb
... ... @@ -97,7 +97,7 @@ module ScimRails
97 97 end
98 98  
99 99 def find_value_for(attribute)
100   - params.dig(*path_for(attribute.to_s))
  100 + params.dig(*path_for(attribute).map{|x| x.to_s}) rescue nil
101 101 end
102 102  
103 103 # `path_for` is a recursive method used to find the "path" for
... ...
lib/scim_rails/version.rb
1 1 module ScimRails
2   - VERSION = '0.3.2'
  2 + VERSION = '0.3.3'
3 3 end
... ...