lib/appfuel/domain/dsl.rb in appfuel-0.5.13 vs lib/appfuel/domain/dsl.rb in appfuel-0.5.14

- old
+ new

@@ -194,10 +194,9 @@ if options[:hash].empty? fail ":hash params that are empty don't make sense you probably " + "want to exclude the params and use the constructor alone" end - hash = options.delete(:hash) params = {} hash.each do |key, value| params[key] = value.is_a?(String) ? Types[value] : value end