virtus 1.0.0.beta4 → 1.0.0.beta5
Sign up to get free protection for your applications and to get access to all the features.
- 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