Categories: None [Edit]
pico_phone-rails
pico_phone-rails wires the pico_phone gem into Rails: a :phone_number ActiveRecord attribute type, a PhoneValidator for ActiveModel validations, a normalize_phone class macro that rewrites phone attributes to E.164 before validation, extract_phone_numbers_from for pulling phone numbers out of free text (with an optional persisted backend for cross-record search), maintain_phone_search_index for keeping search columns in sync on an existing phone-number table, pico_phone_field_tag/f.pico_phone_field form helpers that display national format for a valid number without discarding what the user typed, live: true on those same helpers for debounced Stimulus-driven validation and reformatting via a mountable engine, and an ActiveJob serializer so a PhoneNumber survives being passed as a job argument.
Total
Ranking: 109,252 of 196,850
Downloads: 7,409
Daily
Ranking: 57,055 of 196,832
Downloads: 0
Downloads Trends
Ranking Trends
Num of Versions Trends
Popular Versions (Major)
Popular Versions (Major.Minor)
Depended by
| Rank | Downloads | Name |
|---|
Depends on
| Rank | Downloads | Name |
|---|---|---|
| 34 | 897,939,689 | activemodel |
| 47 | 791,434,425 | railties |
| 60,244 | 18,792 | pico_phone |
Owners
| # | Gravatar | Handle |
|---|---|---|
| 1 | gjack |