Hi peeps, this basically makes symbol operator not throw an error when compared to instances of other classes.
This was needed for me when using symbol operators as values in mongomapper (the dirty new value != old value) gets sad otherwise but i figured getting an error is not the expected behavior so.. here a pull request.
Cheers for your awesome work on this (and MM) <3
Added failing test for comparing symbol operator with an instance of …
Make SymbolOperator check other.class before comparing method values
Meh, that should have been self.class == other.class for consistency I suppose
Good catch. Will merge soon.