boxplatform/box-ruby — Issue #11: Find fo file names or folder names is case-sensitive
Author: cwise
Created: 2011-11-05 15:10:08+00:00
State: open

When using the find method and specifying a :name, the equality check in criteria is case-sensitive. The problem is that on the file system in Box, "spreadsheets" is equivalent to "Spreadsheets", but a find of :name => 'spreadsheets' will not return a folder named 'Spreadsheets'.

In our application, we attempt to create a folder if it doesn't exist (by way of query via find).

I'm suggesting that the criteria call be modified to perform a case-insensitive equality test on :name.