Super() inside quote() of database adapters

4 days into RoR and I am fixing db adapter bugs, didn’t expect
that :wink: In working to fix a bug in the quote() method of the
sybase_adapter.rb which causes it to incorrectly drop quotes of a
value that goes into a string column if the value is a number, I have
noticed that super() has the quoting of the value correct.

I am very new to RoR and Ruby, it seems to me that
ActiveRecord::ConnectionAdapters::Quoting’s quote()
works, and sybase_adapter’s quote() is screwing things up. But I am
confused as to how both get called. Can someone explain?

thanks,
Kiriakos