This repository is private.
All pages are served over SSL and all pushing and pulling is done over SSH.
No one may fork, clone, or view it unless they are added as a member.
Every repository with this icon (
) is private.
Every repository with this icon (
This repository is public.
Anyone may fork, clone, or view it.
Every repository with this icon (
) is public.
Every repository with this icon (
Doug Ramsay (author)
Mon Oct 06 13:44:14 -0700 2008
commit 7cce17ffe8a790cd537843af234d6603a855be0b
tree cfbc3112410cc9806af4d2d4b89ae9a7152e3a5b
parent 892b1a7428d113a8b261f69e1181c0c1fbbc5226
tree cfbc3112410cc9806af4d2d4b89ae9a7152e3a5b
parent 892b1a7428d113a8b261f69e1181c0c1fbbc5226
| name | age | message | |
|---|---|---|---|
| |
.gitignore | ||
| |
MIT-LICENSE | ||
| |
README | ||
| |
Rakefile | ||
| |
init.rb | ||
| |
lib/ | ||
| |
test/ |
README
CommaParser =========== This plugin allows you to accept commas from users for integer fields in an ActiveRecord model. Example ======= # Table name: cities # # id :integer(11) not null, primary key # name :string(50) # population :integer(11) class City < ActiveRecord::Base allow_commas :population # rest of class end Now the user can type population "1,000,000" into a form and it will still save correctly as "1000000" instead of "1". This saves you the hassle of stripping out commas either in JavaScript or in the controller. Copyright (c) 2008 Doug Ramsay and Intridea, Inc., released under the MIT license








