Permalink
Browse files

Additional fix to `properties`

  • Loading branch information...
1 parent 6eb1bf0 commit d32895e8e94c4159987f140ee42dfd8ecda2f888 @serebryakov serebryakov committed May 27, 2010
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/lib/model/base.rb
View
2 lib/lib/model/base.rb
@@ -495,7 +495,7 @@ def []=(name, value)
##
def properties(*args)
Hash[self.class.properties.keys.map do |name|
- [ name, @attributes[name] ]
+ [ name, self[name] ]
end].merge(@arbitrary)
end

0 comments on commit d32895e

Please sign in to comment.