Adam Meehan
|
77f338d97c
|
refactored action view extension to use params
this is instead of value before type to avoid issues with partial value parsing
will be extracted in v3
|
2010-02-04 11:45:28 +11:00 |
|
Adam Meehan
|
82c0e1bcd3
|
changed format of string used in multi param for invalid or partial values
|
2010-01-12 22:05:14 +11:00 |
|
Adam Meehan
|
f1a0016bf7
|
added deprecation notice for :equal_to
|
2010-01-12 22:02:15 +11:00 |
|
Adam Meehan
|
59d9957ab6
|
fix generated_methods bug where read instead of write method stored
existing spec failed unless run alone as attribute methods already
primed. fixed spec to undef method and empty generated_methods set
|
2009-12-29 11:13:15 +11:00 |
|
Adam Meehan
|
694c3b0ce3
|
method rename and words
|
2009-12-23 14:52:41 +11:00 |
|
Adam Meehan
|
a859827af4
|
fix regexp for ISO 8601 datetimes (thanks costan)
|
2009-12-23 13:06:32 +11:00 |
|
Adam Meehan
|
f3c119e191
|
change equal_to to is_at to fix overlap with default rails message
|
2009-12-11 15:20:34 +11:00 |
|
Adam Meehan
|
5258256d5e
|
reworked i18n messages, interpolation to behave on missing translation
|
2009-12-11 15:15:16 +11:00 |
|
Adam Meehan
|
9cfbb2a458
|
fix for I18n formats lookup in Rails <= 2.3.3 vendored I18n
|
2009-12-11 15:12:49 +11:00 |
|
Adam Meehan
|
78baa7a3cc
|
move default validator options to constant
|
2009-12-11 11:13:35 +11:00 |
|
Adam Meehan
|
7d6967da90
|
tiny cleanup
|
2009-12-11 11:10:33 +11:00 |
|
Adam Meehan
|
a6712de5ff
|
use global error value formats if missing in locale
always loads globals value formats into class accessor
replace old format accessor methods class accessor
|
2009-12-11 11:06:21 +11:00 |
|
Adam Meehan
|
c580c3e682
|
use generated_methods method rather ivar
|
2009-09-19 11:59:08 +10:00 |
|
Adam Meehan
|
f109443fb7
|
version 2.2.2
|
2009-09-19 08:19:27 +10:00 |
|
Adam Meehan
|
96bf4bf184
|
fix dummy to respect timezones by using make_time
|
2009-09-19 07:30:33 +10:00 |
|
Adam Meehan
|
b11893eac0
|
fix dummy date part in Validator.type_cast_value
removed all core extensions
|
2009-09-12 14:14:37 +10:00 |
|
Adam Meehan
|
c762b6d4f8
|
added version file with VERSION constant
|
2009-09-12 13:42:07 +10:00 |
|
Adam Meehan
|
6db8b7d908
|
push dummy date value assignment into Formats.parse and allow custom values to be used
|
2009-09-12 13:07:01 +10:00 |
|
Adam Meehan
|
d3c5101f92
|
use implied_type in restriction evaluations
|
2009-09-12 13:05:12 +10:00 |
|
Adam Meehan
|
899e96b880
|
tiny clean up
|
2009-09-12 13:05:12 +10:00 |
|
Adam Meehan
|
162faf632a
|
push strict override for format option into Formats.parse
|
2009-09-12 13:05:12 +10:00 |
|
Adam Meehan
|
c29478df45
|
fix deprecation for ActiveRecord::Errors#generate_message in Rails 2.3.4
ginger scenario added 2.3.4
|
2009-09-12 13:05:11 +10:00 |
|
Adam Meehan
|
df3283e5a1
|
fix ignore_usec for with_date and with_time options
|
2009-09-12 13:05:04 +10:00 |
|
Adam Meehan
|
7bf7ed0569
|
catch both possible exception types
|
2009-09-09 16:25:04 +10:00 |
|
Adam Meehan
|
a969a49ae8
|
little tweaks
|
2009-09-09 16:16:11 +10:00 |
|
Adam Meehan
|
4cc20ae620
|
fixed some bad rescue behaviour in parse method
|
2009-09-05 19:47:49 +10:00 |
|
Adam Meehan
|
2028d68b17
|
checking proc arity in option value for ruby 1.9 compat
|
2009-08-22 14:59:46 +10:00 |
|
Adam Meehan
|
e399c6b510
|
moved mutliparam helper methods our of AR to reduce method pollution
|
2009-07-28 12:52:25 +10:00 |
|
Adam Meehan
|
1a31e7463d
|
have to manually require matcher now because the presence of the Spec
namespace caused issues for shoulda when not using rspec:wq
|
2009-07-07 15:32:15 +10:00 |
|
Adam Meehan
|
75a3b2bd83
|
version 2.1
|
2009-06-20 22:30:08 +10:00 |
|
Adam Meehan
|
d61dddfbc6
|
fix i18n locale load order to allow customisation
fix interpolation values for i18n
|
2009-06-19 12:06:36 +10:00 |
|
Adam Meehan
|
4ac4281c8b
|
rename named local var
|
2009-06-07 08:28:20 +10:00 |
|
Adam Meehan
|
a56cf674b2
|
removed reload alias by attributes_cache for before_type_cast value
|
2009-06-07 08:21:46 +10:00 |
|
Adam Meehan
|
34c0f25225
|
dramatically simplify the before_type_cast hack and remove read method override
simplified write method with no dirty attributes hackery
|
2009-06-06 16:37:06 +10:00 |
|
Adam Meehan
|
805bb5d7fd
|
added another datetime format
|
2009-06-06 11:17:35 +10:00 |
|
Adam Meehan
|
7aac14c874
|
added ambiguous year threshold setting
|
2009-06-06 11:16:19 +10:00 |
|
Adam Meehan
|
5295a494e9
|
token typo
|
2009-05-26 12:00:49 +10:00 |
|
Adam Meehan
|
3348ca3063
|
dont rely on add_error return value to exit. sigh, less one liners
|
2009-04-12 10:23:09 +10:00 |
|
Adam Meehan
|
88ee33ae41
|
consistently use instance methods vs vars in validator
|
2009-04-12 10:17:33 +10:00 |
|
Adam Meehan
|
bb94e234bc
|
add :format option to validate and parse with specific a format
|
2009-04-10 10:57:27 +10:00 |
|
Adam Meehan
|
f041524124
|
add equal_to option to matcher
|
2009-04-10 10:48:24 +10:00 |
|
Adam Meehan
|
e1d23d0f2b
|
Merge branch '2.0.0'
|
2009-04-09 18:54:34 +10:00 |
|
Adam Meehan
|
613001791a
|
limit time_array size explicity
|
2009-04-09 18:53:28 +10:00 |
|
Adam Meehan
|
b197d537f1
|
fix read attribute bug for frozen record (reported by Les Nightingill)
|
2009-04-06 13:52:07 +10:00 |
|
Adam Meehan
|
1e3c802031
|
capture zone offset value in formats to possible usage
|
2009-03-31 21:35:49 +11:00 |
|
Adam Meehan
|
d89266d9f1
|
minor stuff
|
2009-03-31 21:25:05 +11:00 |
|
Adam Meehan
|
fb520bbddc
|
use plugin parser in action view extension
|
2009-03-31 14:21:07 +11:00 |
|
Adam Meehan
|
f4ed751c26
|
changed back to using error_value_formats for Rails 2.0/2.1
|
2009-03-28 19:51:11 +11:00 |
|
Adam Meehan
|
956933f58b
|
disable multiparameter values extension by default for v2
|
2009-03-28 18:53:47 +11:00 |
|
Adam Meehan
|
7967b5a212
|
refactored error value formats to use locale file for I18n. Rail 2.0/2.1 to use default_error_value_formats now.
moved default_error_messages_method into validator
|
2009-03-28 18:49:26 +11:00 |
|