extjs-mvc 0.3.2 → 0.3.3
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/VERSION +1 -1
- data/lib/controller/controller.rb +1 -1
- data/lib/extjs/data/store.rb +1 -1
- data/lib/model/base.rb +0 -2
- metadata +1 -1
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.3.
|
1
|
+
0.3.3
|
data/lib/extjs/data/store.rb
CHANGED
@@ -18,7 +18,7 @@ module ExtJS::Data
|
|
18
18
|
@model = self.get_model(options[:controller], options[:model])
|
19
19
|
|
20
20
|
# Merge Reader/Proxy config
|
21
|
-
@config.merge!(@controller.extjs_reader(@model, options[:fieldset]))
|
21
|
+
@config.merge!(@controller.extjs_reader(@model, options[:fieldset] || :default))
|
22
22
|
@config.merge!(@controller.extjs_proxy(options))
|
23
23
|
@config["format"] = @format
|
24
24
|
|
data/lib/model/base.rb
CHANGED
@@ -97,7 +97,6 @@ module ExtJS
|
|
97
97
|
#
|
98
98
|
def extjs_record(*fields)
|
99
99
|
fieldset, fields = self.extjs_extract_fieldset! fields
|
100
|
-
|
101
100
|
if fields.empty?
|
102
101
|
fields = self.extjs_get_fields_for_fieldset(fieldset)
|
103
102
|
else
|
@@ -233,7 +232,6 @@ module ExtJS
|
|
233
232
|
raise ArgumentError, "encountered a Hash that I don't know anyting to do with `#{f.inspect}:#{f.class}`"
|
234
233
|
end
|
235
234
|
else # should be a String or Symbol
|
236
|
-
puts params.inspect if f.nil?
|
237
235
|
fields << {:name => f.to_sym}
|
238
236
|
end
|
239
237
|
end
|