diff options
author | Oscar Del Ben <info@oscardelben.com> | 2012-04-14 10:35:44 +0300 |
---|---|---|
committer | Oscar Del Ben <info@oscardelben.com> | 2012-04-14 10:35:44 +0300 |
commit | 92a6cf0acd5615730b15b9bd1aac819562696262 (patch) | |
tree | fa2e644e5f1b579622aec2845ba5c66514db8325 /activemodel/lib | |
parent | 418fb91269fe1114f9b8f170ff85e1ea851b8d0c (diff) | |
download | rails-92a6cf0acd5615730b15b9bd1aac819562696262.tar.gz rails-92a6cf0acd5615730b15b9bd1aac819562696262.tar.bz2 rails-92a6cf0acd5615730b15b9bd1aac819562696262.zip |
Improve example in initializer
Diffstat (limited to 'activemodel/lib')
-rw-r--r-- | activemodel/lib/active_model/model.rb | 2 |
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 |