virtus 1.0.0.beta4 → 1.0.0.beta5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/lib/virtus/module_builder.rb +1 -1
- data/lib/virtus/version.rb +1 -1
- data/spec/unit/virtus/model_spec.rb +1 -1
- metadata +1 -1
|
@@ -106,7 +106,7 @@ module Virtus
|
|
|
106
106
|
def attribute_method(configuration)
|
|
107
107
|
module_options = self.module_options
|
|
108
108
|
|
|
109
|
-
lambda do |name, type, options = {}|
|
|
109
|
+
lambda do |name, type = Object, options = {}|
|
|
110
110
|
super(name, type, module_options.merge(options))
|
|
111
111
|
end
|
|
112
112
|
end
|
data/lib/virtus/version.rb
CHANGED