Do you see the "attr_accessor :fraction" call some lines before the
definition of the fraction method in dbi.rb? It's now "attr_writer
:fraction" to avoid exactly this warning.
Regards,
Michael
···
On Sat, Oct 25, 2003 at 06:13:25AM +0900, Daniel Bretoi wrote:
Hi,
Does anyone know what causes this error?
/usr/lib/ruby/1.6/dbi/dbi.rb:318: warning: method redefined; discarding
old fraction