Sergio Cambra

Results 143 comments of Sergio Cambra
trafficstars

How users are invited? create_creative_user is not a devise invitable action

I have no experience with couchdb. How is a polymorphic association done in couchdb?

I tihnk some of needed changes are already in devise invitable (two adapters are supported and polymorphic association can be disabled). Is it enough?

thanks a lot @phillbaker

Is it possible with current devise invitable? Or does devise invitable have to add some code for it?

Can you check database? Is invitation_limit an integer?

Do you know user which was inviting? Can you test invitation_limit in that user?

Ok. Is it reproducible? Can you reproduce from the console? calling user.has_invitations_left? or user.invitation_limit

I'm intrigued too. It should never return a string

A failing test would be useful to reproduce it and fix it. If you don't know how to write the test or you cannot reproduce it in a test, I...