joaomdmoura / gioco

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

Table is named "type" and it is giving off errors #59

Closed mendozao closed 11 years ago

mendozao commented 11 years ago

I am trying to implement your gem in a rails 4 application. When trying to reference the 'Type' class from the User model, it gives an error. I believe this goes back to your model being named 'Type'.

joaomdmoura commented 11 years ago

Sorry guys, I was busy on the last months to reply, I'm updating my open source projects. I'll check it ASAP

joaomdmoura commented 11 years ago

Yeah @mendozao, I've just update the test to work with Rails 4, and the error is happening. I'll start to work on it.

joaomdmoura commented 11 years ago

I've just pushed a commit making it work on Rails 4. The gem was not updated yet, but you can use from Github.