Commit Graph

60 Commits

Author SHA1 Message Date
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