simple_model 1.2.13 → 1.2.15
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/simple_model/attributes.rb +1 -1
- data/lib/simple_model/version.rb +1 -1
- metadata +1 -1
@@ -279,7 +279,7 @@ module SimpleModel
|
|
279
279
|
# hack to keep things working when a class inherits from a super that
|
280
280
|
# has ActiveModel::Dirty included
|
281
281
|
def inherited(base)
|
282
|
-
base.alias_attributes =
|
282
|
+
base.alias_attributes = self.alias_attributes.merge(base.alias_attributes)
|
283
283
|
super
|
284
284
|
# Rails 3.0 Hack
|
285
285
|
if (ActiveModel::VERSION::MAJOR == 3 && ActiveModel::VERSION::MINOR == 0)
|
data/lib/simple_model/version.rb
CHANGED