RubyGems
npm
Organizations
Log in
Sign up
RubyGems
scaffolding_extensions
Versions diffs
1.3.10 → 1.3.11
scaffolding_extensions 1.3.10 → 1.3.11
Sign up to get
free
protection for your applications and to get access to all the features.
Files changed (2)
hide
show
data/lib/scaffolding_extensions/meta_model.rb
+1
-1
metadata
+1
-1
data/lib/scaffolding_extensions/meta_model.rb
CHANGED
Viewed
@@ -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
Viewed
@@ -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