railsgarden / nilify_blanks

Provides a framework for saving incoming blank values as nil in the database in instances where you'd rather use DB NULL than simply a blank string.

This URL has Read+Write access

nilify_blanks / Manifest
100644 18 lines (17 sloc) 0.308 kb
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
CHANGELOG
init.rb
install.rb
lib/nilify_blanks.rb
Manifest
MIT-LICENSE
nilify_blanks.gemspec
nilify_blanks_plugin.sqlite3
Rakefile
README.rdoc
tasks/nilify_blanks_tasks.rake
test/config/database.yml
test/nilify_blanks_plugin.sqlite3
test/nilify_blanks_test.rb
test/schema.rb
test/test_helper.rb
uninstall.rb