Ceeram
|
ec9966ec6b
Adding tests for Validator
|
14 years ago |
Thomas Ploch
|
324684c14f
Moving all validation logic into a new ModelValidator object.
|
14 years ago |
Ceeram
|
74ee75b0ef
Merge branch '2.1' into 2.2
|
14 years ago |
ADmad
|
b1e7164d1a
Implemented translation of validation rule arguments in validation error messages. Closes #2816
|
14 years ago |
Ceeram
|
f0bd7386e2
created, modified and updated fields now use static timestamp in testcases
|
14 years ago |
mark_story
|
21ba5bf04a
Merge branch '2.1' into 2.2
|
14 years ago |
Ceeram
|
388b20dd9d
fix error in previous commit
|
14 years ago |
Ceeram
|
a84597784d
avoid warning when saveAll() data has empty hasMany data, fixes #2792
|
14 years ago |
Ceeram
|
9556ff714d
Avoid running validation again, when saveAll() is called with 'validate' => 'first'
|
14 years ago |
mark_story
|
d136fac219
Correct docs to match code.
|
14 years ago |
Kyle Robinson Young
|
6cf73c763c
Tests for a generic custom datasource
|
14 years ago |
mark_story
|
9f9feec222
Merge branch '2.2-hash' into 2.2
|
14 years ago |
mark_story
|
8d1b5c3f24
Fix notice errors with postgres.
|
14 years ago |
Ceeram
|
c2a8fca00c
Merge branch '2.1' into 2.2
|
14 years ago |
Ceeram
|
30268f6a08
Only check for existing method expresion() when it actually will be called.
|
14 years ago |
ADmad
|
7ed90c72ae
Updating API docblock for Model::query()
|
14 years ago |
mark_story
|
a76a926ac1
Fix more uses of Set -> Hash
|
14 years ago |
mark_story
|
19e0d8d946
Switch usage to Hash where possible.
|
14 years ago |
Ceeram
|
c9528b8446
Merge branch '2.1' into 2.2
|
14 years ago |
Ceeram
|
4dfbfe9c8b
fix saveAll deep option, when associated data is empty, or has deeper associated model data as first key in array
|
14 years ago |
mark_story
|
c58b61c17b
Merge branch '2.1' into 2.2
|
14 years ago |
ADmad
|
bdddc85946
Making option `'unique' => 'keepExisting'` for HABTM association behave consistently with all acceptable data formats.
|
14 years ago |
Juan Basso
|
c754fb2dcb
Updated copyright to 2012.
|
14 years ago |
Juan Basso
|
3b1bd90ad6
Updated copyright to 2012.
|
14 years ago |
Ceeram
|
bbfaa9e947
Paginating now work well with custom find methods.
|
14 years ago |
mark_story
|
664b0538b8
Fix more coding standards problems.
|
14 years ago |
mark_story
|
9a6ad7e1e2
Fixing most coding standard issues in Model/
|
14 years ago |
Ceeram
|
08a4d0bf63
Avoid unsetting Model's $findMethods when defining a custom find method in AppModel, also add tests for custom finds
|
14 years ago |
mark_story
|
7665f369fa
Merge branch '2.1-type-hinting-corrections' into 2.1
|
14 years ago |
euromark
|
e94d307ee1
code conventions
|
14 years ago |