Check for changed attributes.
Add specs to verify expected output of #valid?

Added specs to test output of #valid? is correct in records with
different states.
Forgot a word.
Use the changed method instead of checking the state of the array.
Merge pull request #120 from brianp/master

NoMethodError fix