adding documentation for attribute_changed? method [ci skip]

idneting the documentation

Adding the documentation for activemodel/dirty#attribute_was [ci skip]

indenting the documentation and changing the language for it[ci skip]