mirror of
https://github.com/ditkrg/validates_timeliness.git
synced 2026-01-22 22:06:45 +00:00
This is a memory and performance improvement change. The attribute methods for timeliness are generated at each object creation instead of once, at first creation like AR attribute methods. Since creating those methods uses `module_eval` it's quite slow when it's done each `Model.new`. For more details on the performance improvement, see the same change on John Carney's fork: https://github.com/johncarney/validates_timeliness/pull/6 |
||
|---|---|---|
| .. | ||
| generators/validates_timeliness | ||
| validates_timeliness | ||
| validates_timeliness.rb | ||