Kevin Xiwei Zheng
5082c9ef8c
Fix creation of user records after janitor trials
...
Previously, a negative "demoted from janitor trial" record would
always be created after a janitor trial ended, regardless of whether
or not the user in question was actually demoted or not. This commit
removes the culprit, an overly aggressive after_destroy callback, and
instead directly invokes user record creation in the "demote!" method.
2013-07-01 21:31:01 -04:00
albert
85a5fcc658
fixes #1133
2013-03-29 16:45:59 -04:00
小太
cba839ba76
Kill trailing whitespace in ruby files
2013-03-19 23:10:10 +11:00
albert
72b7651169
improved search methods
2013-01-11 17:13:55 -05:00
albert
8749c43b3e
refactored search
2013-01-10 17:45:52 -05:00
albert
80f34d08d9
revert default scope change
2013-01-07 17:24:03 -05:00
albert
040059c491
add default scopes to every model
2013-01-07 17:12:43 -05:00
albert
6b5b1cf023
fixes #303
2012-02-24 17:45:07 -05:00
albert
b9ace89e53
fixes #143 : Janitor trials issues
2011-10-17 00:29:22 -04:00
albert
5da43c54f0
fixed all tests
2011-07-22 19:25:56 -04:00
albert
58c3d2af13
fixing tests
2011-07-16 19:20:02 -04:00
albert
9c0a961ab2
major refactoring of javascripts
2011-03-10 17:59:42 -05:00
albert
f7e2344b9f
* Reworked how post versioning works, now more closely resembles the 1.18 strategy
2011-01-26 18:10:49 -05:00
albert
3d5873c182
some fixes to janitor trials, implemented jan trial controller test
2011-01-14 16:45:10 -05:00
albert
f8ab736677
fixed tests
2010-11-19 17:20:13 -05:00
albert
6bc469b05d
changes
2010-08-27 16:59:59 -04:00
albert
188c30eeea
add janitor trials
2010-03-09 16:18:28 -05:00