I have a simple question about rails syntax:

How can I find out to which class a object belongs?

I try to do someting like:

if class(object) == MyClass

Thanks Maechi

Edit
Report