scaffolding_extensions 1.3.10 → 1.3.11

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.
@@ -558,7 +558,7 @@ module ScaffoldingExtensions::MetaModel
558
558
  if allowed_attributes.include?(k)
559
559
  h[k] = v
560
560
  elsif convert_attributes.include?(k)
561
- h[k] = v.to_i.to_s
561
+ h[k] = v.blank? ? '' : v.to_i.to_s
562
562
  end
563
563
  end
564
564
  h
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: scaffolding_extensions
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.3.10
4
+ version: 1.3.11
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jeremy Evans