validates_timeliness/lib/validates_timeliness
Julien Vanier 7d37882327 Generate attribute methods once instead of on each object creation
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
2015-09-24 14:58:12 -04:00
..
extensions Fix multiparameter extension to not allow partial dates as per ActiveRecord implementation. 2012-03-26 20:22:09 +11:00
orm Generate attribute methods once instead of on each object creation 2015-09-24 14:58:12 -04:00
attribute_methods.rb Stricter method signature for _timeliness_raw_value_for to take string 2012-03-29 13:00:28 +11:00
conversion.rb fix for validation nil value with :format option plugin parser disabled (issue 34) 2011-01-29 16:07:56 +11:00
extensions.rb renamed to enable_multiparameter_extension! 2010-08-03 23:27:46 +10:00
helper_methods.rb Fix for validates :timeliness form to add attributes to plugin set 2012-08-23 18:38:33 +10:00
railtie.rb Fix load order issue for AR extension using Railite 2012-06-23 18:58:01 +10:00
validator.rb Merge pull request #98 from 907th/master 2013-04-30 04:45:54 -07:00
version.rb v3.0.14 2012-08-23 18:40:47 +10:00