Adam Meehan
b2d1dcdd3f
add some common formats
2010-09-17 13:43:47 +10:00
Adam Meehan
1fb89d6455
simplify tokens to hash and generate in reverse order of token length
2010-09-17 13:42:21 +10:00
Adam Meehan
1df8ab121e
wiki link for ORM support
2010-09-17 12:21:27 +10:00
Adam Meehan
bceb0d508f
readme
2010-09-17 11:01:10 +10:00
Adam Meehan
423d60f885
use inheritable hash for valdiated attributes
2010-09-17 10:56:13 +10:00
Adam Meehan
4f8b300261
update benchmarks
2010-09-17 08:58:07 +10:00
Adam Meehan
b23dba5202
remove time_with_zone require
2010-09-17 08:52:55 +10:00
Adam Meehan
c8609c1fd0
readme consistencies
2010-09-17 08:49:26 +10:00
Adam Meehan
b261563644
readme with wiki and old plugin refs
2010-09-17 08:44:41 +10:00
Adam Meehan
58fdb7682b
removed some unused stuff
2010-09-17 08:33:59 +10:00
Adam Meehan
3f0e430eab
refactored parsing and conversion with timezones. removed some cruft
2010-09-17 08:32:56 +10:00
Adam Meehan
3530e3a58c
docs
2010-09-16 22:40:42 +10:00
Adam Meehan
ab8d680383
fix multiparam extension
2010-09-16 22:39:56 +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
d0080ebac4
update rails in gemfile
2010-09-16 22:27:11 +10:00
Adam Meehan
7274e7841d
clarify ORM support
2010-09-01 10:08:21 +10:00
Adam Meehan
10f49144c3
extend AR by default if present
2010-08-31 22:43:40 +10:00
Adam Meehan
53f3d876ea
shorthand defaults in generator coments
2010-08-31 16:47:41 +10:00
Adam Meehan
b0ebd5bfda
rename instance var
2010-08-31 13:28:05 +10:00
Adam Meehan
7243456b76
remove spec guff
2010-08-31 13:27:36 +10:00
Adam Meehan
2f3efa2107
custom error message options
2010-08-31 13:23:07 +10:00
Adam Meehan
728439201d
fix validator spec
2010-08-31 12:46:33 +10:00
Adam Meehan
c97050f62f
autoload version file
2010-08-31 12:46:08 +10:00
Adam Meehan
52b69065d3
words
2010-08-11 13:46:43 +10:00
Adam Meehan
e3928e78eb
fixe for attribute write and raw value methods
...
add new generalised method to get raw value without dependence on
before_type_cast which may not be supported in ORMs
call super to define full ORM write method default
2010-08-11 13:45:06 +10:00
Adam Meehan
30fb0e5192
before_type_cast fix for ORMs not using it wont create
2010-08-10 15:41:53 +10:00
Adam Meehan
9347eadce8
word
2010-08-10 14:45:07 +10:00
Adam Meehan
90440dfc65
stop shouting in readme
2010-08-10 14:44:50 +10:00
Adam Meehan
c47dde6325
shorthand update in generator
2010-08-07 19:14:49 +10:00
Adam Meehan
1bc579f861
instance validation spec
2010-08-07 19:10:36 +10:00
Adam Meehan
712c1dd603
expand example
2010-08-07 19:10:10 +10:00
Adam Meehan
82ede60985
restriction shorthand symbols
2010-08-07 19:08:35 +10:00
Adam Meehan
924c6766c1
renamed to enable_multiparameter_extension!
2010-08-03 23:27:46 +10:00
Adam Meehan
4028413631
multiparameter value handler
2010-08-03 23:22:27 +10:00
Adam Meehan
0f41671b32
multiparameter extension for AR
2010-08-03 22:59:29 +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
300bd96056
readme
2010-08-03 15:18:19 +10:00
Adam Meehan
6521cf0318
changelog
2010-08-03 15:14:30 +10:00
Adam Meehan
b22a7c41b8
add validator type accessor
2010-08-03 15:07:23 +10:00
Adam Meehan
7117a5ef22
reset employee class in specs
2010-08-03 15:06:51 +10:00
Adam Meehan
40e404681e
type cast value before blank check for invalid values
2010-08-03 15:04:59 +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
6bed71152a
add validation methods as instance methods as well per AM
2010-08-03 14:56:59 +10:00
Adam Meehan
34379e1e15
lil tweak
2010-08-02 19:34:50 +10:00
Adam Meehan
b5661bacec
remaining specs for validator options
2010-08-02 19:26:41 +10:00
Adam Meehan
bbde35bf89
readmen tweaks
2010-08-02 18:13:41 +10:00
Adam Meehan
3c8e5c16fc
shorthand spec_helper require
2010-08-02 18:13:21 +10:00
Adam Meehan
e91d5a3404
default to datetime type using validates method
2010-08-02 18:13:04 +10:00