Anatoliy Chakkaev
6d1e47ceaf
Schemas switching
2013-03-31 16:35:26 +04:00
Anatoliy Chakkaev
76c7fbd6ec
Merge branch 'http' of github.com:NiKnight/jugglingdb
2013-03-31 14:08:38 +04:00
Anatoliy Chakkaev
0776c51994
Batch create
2013-03-31 13:40:37 +04:00
Scott Nonnenberg
2ba862f5af
afterDestroy not called on adapter error
...
Similar to afterCreate and afterUpdate, we don't want to run the afterXXXX handlers if the delete failed according to the adapter.
2013-03-30 17:18:47 -07:00
Anatoliy Chakkaev
2f048e79c0
Return instance of object when create
2013-03-30 21:06:09 +04:00
Anatoliy Chakkaev
1f29064b3d
Rewrite save and create for correct hooks order
...
Validation should be called first, and then all other actions
to allow modify data after validation (for example hash
password after validating length.
Issue #242
2013-03-28 15:26:51 +04:00
Anatoliy Chakkaev
2749a1f7e0
Fixes in belongsTo relation definition syntax
2013-03-27 04:48:26 +04:00
Anatoliy Chakkaev
de28603460
Added short syntax for belongsTo
2013-03-27 00:48:14 +04:00
Anatoliy Chakkaev
f76b56d2fe
Another way to define belongsTo
2013-03-26 04:39:47 +04:00
Anatoliy Chakkaev
16c826bd4f
Rename files
2013-03-25 01:35:08 +04:00