Have been looking like crazy for tutorials on STI (Single Table
Inheritance) and polymorphic associations to devise and use with many
I'm in trouble here, I have three models ('admin.rb', 'pesquisador.rb'
and 'bolsista.rb'), the typical case of teacher, student and
But the devise works only with a model, usually 'user.rb' as shown in
What I wonder is how can I relate the models so I can create a generic
model 'usuario.rb'and use the devise, having an interface with
administrative privileges ..
Thanks in advance!