Closed ukolovda closed 8 years ago
Sorry for late reply :bow:
Hmm, I don't think it's a good idea to override method_missing
to hook those methods because it has huge side effects.
It's make sense for me that you need to support exec_query
and more methods, but it should be implemented by more safety codes.
I append supports extra methods of connection (for example, PostgreSQLAdapter::exec_query e.t.c.). Use config.extra_methods = [:exec_query, :exec_delete] for append more methods.