tute/merit — pull request #22 by tomgi (2012-07-30 18:11:20+00:00)
Title: SImplified code

* Replaced some SQL queries with AR
* Fixed #21
* After destroying has_merit model object his badges will be also destroyed