Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

no dups

  • Loading branch information...
commit 826ed6db847eff8c11bb7961e5def321096cd444 1 parent 093c2b5
@maccman maccman authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  lib/supermodel/base.rb
View
2  lib/supermodel/base.rb
@@ -124,7 +124,7 @@ def method_missing(method_symbol, *args) #:nodoc:
attr_writer :new_record
def known_attributes
- self.class.known_attributes + self.attributes.keys.map(&:to_s)
+ self.class.known_attributes | self.attributes.keys.map(&:to_s)
end
def initialize(attributes = {})
Please sign in to comment.
Something went wrong with that request. Please try again.