From 83dd559643e429f06091fea430486a612e6b4e96 Mon Sep 17 00:00:00 2001 From: Santosh Wadghule Date: Mon, 12 Jan 2015 10:03:44 +0530 Subject: Change 'a' to 'an' for 'XML' word [ci skip] --- guides/source/active_model_basics.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/guides/source/active_model_basics.md b/guides/source/active_model_basics.md index 8dee1cc5ec..88de4e2d9f 100644 --- a/guides/source/active_model_basics.md +++ b/guides/source/active_model_basics.md @@ -396,7 +396,7 @@ class Person end ``` -With the `to_xml` you have a XML representing the model. +With the `to_xml` you have an XML representing the model. ```ruby person = Person.new @@ -405,7 +405,7 @@ person.name = "Bob" person.to_xml # => "\n\n Bob\n\n" ``` -From a XML string you define the attributes of the model. +From an XML string you define the attributes of the model. You need to have the `attributes=` method defined on your class: ```ruby -- cgit v1.2.3