Adam Meehan
|
5bed56e180
|
fixes for latest I18n interpolation token detection
|
2010-11-07 10:59:16 +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
|
b11893eac0
|
fix dummy date part in Validator.type_cast_value
removed all core extensions
|
2009-09-12 14:14:37 +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
|
d61dddfbc6
|
fix i18n locale load order to allow customisation
fix interpolation values for i18n
|
2009-06-19 12:06:36 +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
|
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 |
|
Adam Meehan
|
312c1510cb
|
refactored AR parsing methods into Parser module to reduce AR method pollution and make more consistent
|
2009-03-28 17:25:48 +11:00 |
|
Adam Meehan
|
c3f3edf324
|
added enable method for multiparameter attribute handling of datetime which is enabled by default but will be off in version2
renamed enable action view extension method and enable both extensions in the one method as they are needed together
|
2009-03-08 17:55:48 +11:00 |
|
Adam Meehan
|
497a97e0b0
|
cleanup setup and version check guff. enable action view extension by default until version 2
|
2009-03-05 18:34:16 +11:00 |
|
Adam Meehan
|
1001d29c01
|
rails 2.3.0 fix with I18n.reload!
added 2.3 to ginger list
|
2009-02-08 20:54:45 +11:00 |
|
Adam Meehan
|
29c23a7a26
|
move format compilcation call to where it belongs
|
2009-02-08 13:02:06 +11:00 |
|
Adam Meehan
|
817e49940c
|
removed the 'resume' call, um wtf?
|
2009-01-21 14:05:46 +11:00 |
|
Adam Meehan
|
694a4bdd69
|
change error to warning for untested Rails version
|
2009-01-01 20:53:19 +11:00 |
|
Adam Meehan
|
87b0beef5a
|
moved ignore_restriction_errors and error_value_formats into Validator class
|
2008-12-05 20:24:06 +11:00 |
|
Adam Meehan
|
bf999170d7
|
fix timezone issue for to_dummy_time as per normal Rails which uses AR default_timezone
|
2008-12-05 16:34:28 +11:00 |
|
Adam Meehan
|
dbfd9231b5
|
moved including of modules into module files
|
2008-12-03 21:44:39 +11:00 |
|
Adam Meehan
|
3da24f0f33
|
a few changes to prepare for better version support
|
2008-12-03 21:22:19 +11:00 |
|
Adam Meehan
|
71f2a43424
|
added i18n support for error messages in Rails 2.2
|
2008-12-03 18:20:34 +11:00 |
|
Adam Meehan
|
1596ffd2cb
|
namespaced matcher
|
2008-12-02 21:07:08 +11:00 |
|
Adam Meehan
|
3ac65b507f
|
renamed methods which have been moved out of AR and so dont need to be fully qualified
|
2008-12-02 20:34:02 +11:00 |
|
Adam Meehan
|
d71f581e10
|
refactored error message handling and specs
|
2008-12-02 19:36:03 +11:00 |
|
Adam Meehan
|
b0647d456e
|
refactored validations in validation methods for model and validator class
|
2008-11-30 07:40:11 +11:00 |
|
Adam Meehan
|
412ff22dd9
|
namespaced ActiveRecord and ActionView specifc modules and specs with a mind to making the plugin framework agnostic in the future
|
2008-11-29 18:32:32 +11:00 |
|
Adam Meehan
|
5983622ac8
|
moved extact_date_time_values method in to Formats and added specs
changed Formats to a class
|
2008-07-19 19:47:03 +10:00 |
|
Adam Meehan
|
c37c3e82fa
|
moved formats to own module
|
2008-07-17 15:08:33 +10:00 |
|
Adam Meehan
|
899d420b59
|
renamed base to multiparameter attributes
|
2008-07-11 16:35:52 +10:00 |
|
Adam Meehan
|
3c934efd0d
|
added requires for core_ext files
|
2008-07-08 10:40:57 +10:00 |
|
Adam Meehan
|
caf92fba13
|
include matcher if test env
|
2008-07-07 19:03:45 +10:00 |
|
Adam Meehan
|
68463908be
|
changed require and include for InstanceTag
|
2008-07-07 09:57:09 +10:00 |
|
Adam Meehan
|
c6312329ec
|
changed rails version detection to be tighter to avoid rails RC problem
added rspec on rails validate_timeliness_of matcher
|
2008-05-15 11:00:07 +10:00 |
|
Adam Meehan
|
591ea3126b
|
first commit
|
2008-05-02 16:42:51 +10:00 |
|