search for: parentclass

Displaying 5 results from an estimated 5 matches for "parentclass".

Did you mean: parent_class
2007 Jan 06
0
Using ActiveRecord With (Previously) Derived Classes
If you have a class (in a pre-existing library, for example) that has been derived from another class: class ChildClass < ParentClass since Ruby doesn''t support multiple inheritance, you can''t derive ChildClass < ActiveRecord::Base to make ChildClass an ActiveRecord class to persist ChildClass objects. So what''s the standard way to use ActiveRecord for persistence/database operations on objects of...
2006 Apr 03
4
STI Broken on 1.1
Yeah I''m getting major problems as well. I don''t know what the issue is but I''m thinking of going back to 1.0 I would really like to hear if you figure this out, kind of an important part of Rails for us. -Paul -------------- next part -------------- An HTML attachment was scrubbed... URL:
2008 Sep 12
7
embedding wxruby?
Hello, is it possible to code a wxWidgets GUI in C++ and pass the whole wxApp or just single windows to embedded Ruby code? This would be very nice to provide a scriptable plugin system. Greetings, Niklas _______________________________________________ wxruby-users mailing list wxruby-users@rubyforge.org http://rubyforge.org/mailman/listinfo/wxruby-users
2005 Apr 18
11
Create a pseudo-model from SQL query?
I''m having a hard time figuring out how to build my application using Rails. As i go along, simple questions occur to me like: are you supposed to have a separate model class (each in its own file, in the app/models directory) for each table in your database? You''d think that something as basic as this would be laid out in the introductory documentation but, alas, the
2008 Jul 02
3
undefined method `name' for nil:NilClass
...ast/component.rb:30: warning: method redefined; discarding old evaluate /usr/lib/ruby/site_ruby/1.8/puppet/parser/ast/component.rb:110: warning: method redefined; discarding old initialize /usr/lib/ruby/site_ruby/1.8/puppet/parser/ast/component.rb:142: warning: method redefined; discarding old find_parentclass /usr/lib/ruby/site_ruby/1.8/puppet/parser/ast/component.rb:148: warning: method redefined; discarding old parentclass= /usr/lib/ruby/site_ruby/1.8/puppet/parser/ast/component.rb:157: warning: method redefined; discarding old parentobj /usr/lib/ruby/site_ruby/1.8/puppet/parser/ast/component.rb:178:...