RailsのAttribute query methodsの挙動 https://hai3.net/blog/attribute-query-methods/