fixed failing cucumber browser tests. Changed retrieval of Device in index. Changed string value true to boolean in users show page