S
Simon Corcoran
[Note: parts of this message were removed to make it a legal post.]
Hi, I have extended BDI::Row as below in order to use dot notation to
retrieve columns values from result rows. It seems however that some methods
like inspect for example now get caught as missing by this hook and are not
found and executed as expected. Could anyone shed any light on this
behaviour please?
class DBI::Row
def method_missing(name, *args)
puts "method missing #{name}"
result = by_field(name)
end
end
simon
Hi, I have extended BDI::Row as below in order to use dot notation to
retrieve columns values from result rows. It seems however that some methods
like inspect for example now get caught as missing by this hook and are not
found and executed as expected. Could anyone shed any light on this
behaviour please?
class DBI::Row
def method_missing(name, *args)
puts "method missing #{name}"
result = by_field(name)
end
end
simon