#8 ✓resolved
lyle (at lylejohnson)

Warning messages from ActiveRecord when used with FXRuby

Reported by lyle (at lylejohnson) | November 9th, 2009 @ 10:59 PM | in 1.6.21

I am developing a desktop application that needs to save some information to a database. I am using ActiveRecord for this purpose. My code works fine when I don't require fox16 and include Fox. But once I do that I get a bunch of warnings:

  /opt/local/lib/ruby/gems/1.8/gems/activerecord-2.3.2/lib/active_record/associations.rb:100:
      warning: instance variable @choices not initialized
  /opt/local/lib/ruby/gems/1.8/gems/activerecord-2.3.2/lib/active_record/connection_adapters/abstract/database_statements.rb:116:
      warning: instance variable @transaction_joinable not initialized
  ... etc. ...

I tried changing the sequence of require statements but I still get the same warnings.

Comments and changes to this ticket

Please Sign in or create a free account to add a new ticket.

With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.

New-ticket Create new ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile »

FXRuby is a library for developing powerful and sophisticated cross-platform graphical user interfaces (GUIs) for your Ruby applications. It’s based on the FOX Toolkit, a popular open source C++ library developed by Jeroen van der Zijp. What that means for you as an application developer is that you’re able to write code in the Ruby programming language that you already know and love, while at the same time taking advantage of the performance and functionality of a featureful, highly optimized C++ toolkit.

Shared Ticket Bins

People watching this ticket

Tags

Referenced by

Pages