thoughtbot/shoulda-matchers — comment on commit 0820901e4ba02592777aa1beb73fb338178ba915
File: lib/shoulda/matchers/active_record/association_matcher.rb line 185
By sobrinho:

Need casting to string?