joaomdmoura / gioco

A gamification gem to Ruby on Rails applications
305 stars 36 forks source link

Add badges support #79

Open joaomdmoura opened 8 years ago

joaomdmoura commented 8 years ago

In this new version of Gioco we should aim for a more clean architecture and also a more OO approach.

Let's keep it simple and start by adding badges support. The models should be pretty straightforward but the methods for adding, removing and updating badges should follow a OO-way and a Rails way by having the logic contained by its own class, instead of "random" methods injected on other existing classes.