aboutsummaryrefslogtreecommitdiffstats
path: root/activemodel/lib/active_model
diff options
context:
space:
mode:
authorOscar Del Ben <info@oscardelben.com>2012-04-14 10:35:44 +0300
committerOscar Del Ben <info@oscardelben.com>2012-04-14 10:35:44 +0300
commit92a6cf0acd5615730b15b9bd1aac819562696262 (patch)
treefa2e644e5f1b579622aec2845ba5c66514db8325 /activemodel/lib/active_model
parent418fb91269fe1114f9b8f170ff85e1ea851b8d0c (diff)
downloadrails-92a6cf0acd5615730b15b9bd1aac819562696262.tar.gz
rails-92a6cf0acd5615730b15b9bd1aac819562696262.tar.bz2
rails-92a6cf0acd5615730b15b9bd1aac819562696262.zip
Improve example in initializer
Diffstat (limited to 'activemodel/lib/active_model')
-rw-r--r--activemodel/lib/active_model/model.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/activemodel/lib/active_model/model.rb b/activemodel/lib/active_model/model.rb
index 6825fdc653..7323714ba8 100644
--- a/activemodel/lib/active_model/model.rb
+++ b/activemodel/lib/active_model/model.rb
@@ -42,7 +42,7 @@ module ActiveModel
# include ActiveModel::Model
# attr_accessor :id, :name, :omg
#
- # def initialize(attributes)
+ # def initialize(attributes={})
# super
# @omg ||= true
# end