Commit Graph

26 Commits

Author SHA1 Message Date
Adam Meehan
8e08cbf6e4 Fix load order issue for AR extension using Railite 2012-06-23 18:58:01 +10:00
Adam Meehan
4f421d87fc add remove_use_formats alias to Timeliness and spec config spec 2010-10-18 11:15:50 +11:00
Adam Meehan
ecf183d0f1 fix stupid mistake with Timeliness config delegation 2010-10-15 12:32:39 +11:00
Adam Meehan
2c6df945ec remove old parser and use timeliness gem 2010-10-14 18:57:53 +11:00
Adam Meehan
b152dff626 couple of AS dependencies required 2010-10-11 15:53:16 +11:00
Adam Meehan
3f72f31063 change shorthand values to current timezone (thanks rpbertp13) 2010-10-11 13:12:16 +11:00
Adam Meehan
2756d21abd added railtie and moved in some config defaults for Rails and AR 2010-10-09 16:44:19 +11:00
Adam Meehan
1ff215bf55 readme and comment changes 2010-09-29 08:14:17 +10:00
Adam Meehan
5f31f40413 add parser config to initializer 2010-09-27 16:54:21 +10:00
Adam Meehan
d5b0fe0526 list mongoid in config comments 2010-09-23 08:14:11 +10:00
Adam Meehan
48b42da85e seperate attribute method specs into orm specific file
move ORM shims to orm folder
2010-09-21 20:12:40 +10:00
Adam Meehan
27e01486e9 actually use the plugin parser in the write method (yikes) 2010-09-21 08:36:11 +10:00
Adam Meehan
b23dba5202 remove time_with_zone require 2010-09-17 08:52:55 +10:00
Adam Meehan
5d495505d9 proper timezone awareness and plugin parser hooks
Parser uses method compilation technique namely to a method not a proc
2010-09-16 22:35:38 +10:00
Adam Meehan
9ddd150b2f change ORM attribute generation and extension mechanism
now using shim since the attribute matcher is not required for AM
2010-09-16 22:33:22 +10:00
Adam Meehan
10f49144c3 extend AR by default if present 2010-08-31 22:43:40 +10:00
Adam Meehan
c97050f62f autoload version file 2010-08-31 12:46:08 +10:00
Adam Meehan
82ede60985 restriction shorthand symbols 2010-08-07 19:08:35 +10:00
Adam Meehan
81030a6ed8 show restriction errors in Rails test mode by default.
or always if not using Rails
2010-08-03 18:28:00 +10:00
Adam Meehan
048bf3ba6c generate local file on install rather than load 2010-08-03 18:27:35 +10:00
Adam Meehan
34a2d4b558 methods for validated attributes for write cache and before type cast
cache raw value in @attributes_cache which is AR convention but should
work fine with non-AR ORM
before type cast method for reading back cached raw value
2010-08-03 15:01:57 +10:00
Adam Meehan
fabb2be7af date/time select extension 2010-08-02 16:58:03 +10:00
Adam Meehan
d5124f32b2 use setup block to config which classes to extend 2010-08-01 23:27:25 +10:00
Adam Meehan
6acf61aa88 ignore restriction value errors 2010-08-01 23:26:23 +10:00
Adam Meehan
0720abeb0e add locale file to I18n load path 2010-08-01 23:22:50 +10:00
Adam Meehan
fdc3086976 initial Rails 3 rewrite commit
completely rewritten for ActiveModel compatibility
uses ActiveModel EachValidator class as validator base class
simplifies :between by splitting into a :on_or_before and an :on_of_after
only :is_at option tested
2010-08-01 18:35:18 +10:00