Permalink
Browse files

Improve example in initializer

  • Loading branch information...
1 parent 418fb91 commit 92a6cf0acd5615730b15b9bd1aac819562696262 @oscardelben oscardelben committed Apr 14, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 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

0 comments on commit 92a6cf0

Please sign in to comment.