Removed all trailing spaces from files and added curly braces around method: :patch hash in edit pets form