pjb3-flex-attributes 0.1 → 0.1.1
Sign up to get free protection for your applications and to get access to all the features.
- data/flex-attributes.gemspec +1 -1
- data/lib/flex-attributes.rb +2 -2
- metadata +1 -1
data/flex-attributes.gemspec
CHANGED
data/lib/flex-attributes.rb
CHANGED
@@ -228,7 +228,7 @@ module FlexAttributes
|
|
228
228
|
self.flex_options[options[:class_name]] = options
|
229
229
|
|
230
230
|
# Mix in instance methods
|
231
|
-
send :include,
|
231
|
+
send :include, FlexAttributes::InstanceMethods
|
232
232
|
|
233
233
|
# Modify attribute class
|
234
234
|
attribute_class = options[:class_name].constantize
|
@@ -276,7 +276,7 @@ module FlexAttributes
|
|
276
276
|
acts_as_versioned_association options[:relationship_name],
|
277
277
|
:both_sides => true
|
278
278
|
version_class.send :include,
|
279
|
-
|
279
|
+
FlexAttributes::InstanceMethods
|
280
280
|
end
|
281
281
|
|
282
282
|
# The following is only setup once
|