Comments (1)
This is an often requested feature but I think that it goes against the spirit of the gem. With that said this would be very easy to implement, I'm putting together a new release where I have taken out a lot of the default attribute normalizing functionally but will update the README on the project on how to easily add it back in with the API you listed above.
from attribute_normalizer.
Related Issues (20)
- More default normalizers please! HOT 1
- Better naming for old_#{attribute} HOT 1
- destroy() breaking on model with has_and_belongs_to_many association to join table HOT 1
- Define a method with same name as attribute and call `super` does not run normalizers HOT 1
- first_or_create fails in Rails 4.2 HOT 2
- Default attributes? HOT 1
- undefined method `normalize_attribute' in Rails 4.2.1 HOT 1
- :postal_code normalizer? HOT 3
- Crashes Ruby when used with mutant gem HOT 4
- Get attribute name within normalizer HOT 1
- Normalizing groups
- Reopen #23? HOT 1
- NoMethodError: super: no superclass method `<attribute>=` when using abstract_class HOT 1
- Still maintained? HOT 4
- Surprising behavior: Calling normalize_attribute before setter is defined results in attribute not being normalized HOT 4
- removing a normalization after it's already been added.
- Rails 5 compatibility HOT 1
- Normalization not triggered when attribute modified without assignment operator
- Please create a new release on rubygems.org
- Rails 6 and Rails 7 compatibility HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from attribute_normalizer.