aboutsummaryrefslogtreecommitdiffstats
path: root/activemodel/lib/active_model/serializers/xml.rb
diff options
context:
space:
mode:
authorSebastian Martinez <sebastian@wyeworks.com>2011-05-23 20:39:10 -0300
committerSebastian Martinez <sebastian@wyeworks.com>2011-05-23 20:39:10 -0300
commit2a4b780ab1b97b939524f3240b6886c2b77979d2 (patch)
tree457265be026588d704800b6485ed4d37cb962d4b /activemodel/lib/active_model/serializers/xml.rb
parent5d0d4d8ad33be90e34721090991c86c8a22f2d05 (diff)
downloadrails-2a4b780ab1b97b939524f3240b6886c2b77979d2.tar.gz
rails-2a4b780ab1b97b939524f3240b6886c2b77979d2.tar.bz2
rails-2a4b780ab1b97b939524f3240b6886c2b77979d2.zip
Remove extra white spaces on ActiveModel docs.
Diffstat (limited to 'activemodel/lib/active_model/serializers/xml.rb')
-rw-r--r--activemodel/lib/active_model/serializers/xml.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/activemodel/lib/active_model/serializers/xml.rb b/activemodel/lib/active_model/serializers/xml.rb
index eb3975f86b..f6aae24324 100644
--- a/activemodel/lib/active_model/serializers/xml.rb
+++ b/activemodel/lib/active_model/serializers/xml.rb
@@ -55,10 +55,10 @@ module ActiveModel
end
# To replicate the behavior in ActiveRecord#attributes, <tt>:except</tt>
- # takes precedence over <tt>:only</tt>. If <tt>:only</tt> is not set
+ # takes precedence over <tt>:only</tt>. If <tt>:only</tt> is not set
# for a N level model but is set for the N+1 level models,
# then because <tt>:except</tt> is set to a default value, the second
- # level model can have both <tt>:except</tt> and <tt>:only</tt> set. So if
+ # level model can have both <tt>:except</tt> and <tt>:only</tt> set. So if
# <tt>:only</tt> is set, always delete <tt>:except</tt>.
def attributes_hash
attributes = @serializable.attributes