extjs-extjs-mvc 0.1.8 → 0.1.9

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.
Files changed (3) hide show
  1. data/VERSION +1 -1
  2. data/lib/active_record/model.rb +1 -1
  3. metadata +1 -1
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.1.8
1
+ 0.1.9
@@ -59,7 +59,7 @@ module ExtJS
59
59
  when :integer
60
60
  type = :int
61
61
  end
62
- field = {:name => col.name, :allowBlank => col.null, :type => type}
62
+ field = {:name => col.name, :allowBlank => (col.primary) ? true : col.null, :type => type}
63
63
  field[:dateFormat] = "c" if col.type === :datetime || col.type === :date # <-- ugly hack for date
64
64
  field
65
65
  },
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: extjs-extjs-mvc
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.8
4
+ version: 0.1.9
5
5
  platform: ruby
6
6
  authors:
7
7
  - Chris Scott