Commit Graph

16 Commits

Author SHA1 Message Date
Anatoliy Chakkaev 946853f490 Make all args in .save optional 2011-11-22 04:34:15 +07:00
Anatoliy Chakkaev e4e4a43175 Update attribute + hooks 2011-11-20 15:47:49 +07:00
Anatoliy Chakkaev c96cf9f248 Async flow for hooks 2011-11-20 12:36:15 +07:00
Anatoliy Chakkaev 3b2b57eb7b Async validations hooks 2011-11-19 15:58:49 +07:00
Anatoliy Chakkaev e55b29e479 Pass instance as callback second arg when validation fails 2011-11-18 16:00:11 +07:00
Anatoliy Chakkaev 894a924488 Hookable validations without breaking functionality 2011-11-17 14:00:12 +07:00
Julien Guimont 39bbece115 Added active record style callbacks and hooks. Before and after create, save, update, destroy and after initialization. 2011-11-16 23:28:13 -05:00
Anatoliy Chakkaev 2e1cb45f01 Fix NaN-NaN... in dates 2011-11-12 19:04:07 +07:00
Justinas Stankevičius 9c0f069c27 bugfix: class is a reserved word in V8 / node 0.6 2011-11-08 20:00:44 +02:00
Anatoliy Chakkaev b5985e445d Move conditions to `where` section, fix neo4j 2011-11-04 14:30:25 +07:00
Anatoliy Chakkaev 182f3ff12e Tune indexes in redis 2011-10-19 21:17:48 +04:00
Anatoliy Chakkaev 35dd198f70 Only save to database attributes that listed in schema 2011-10-19 00:36:03 +04:00
Anatoliy Chakkaev 8e05e59933 Scopes 2011-10-15 19:57:35 +04:00
Anatoliy Chakkaev 9de9e590d6 Apply defaults on create 2011-10-11 23:51:32 +04:00
Anatoliy Chakkaev 54ddb55c49 Validations 2011-10-10 17:22:51 +04:00
Anatoliy Chakkaev b2ea9c65b0 Reorganize package 2011-10-08 21:11:26 +04:00