Update inquiry.rb

Validate the length of the 'name' field rather than allowing an extra-long entry to cause an exception.

I've not written specs to prove this; not quite sure how. If it's required to complete the pull request let me know and I'll learn how to write the unit tests.

Chris