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: http://wrath.rubyonrails.org/pipermail/rails/attachments/20060403/cbb923aa/attachment.html
On 4/3/06, Paul <paul.marsh@gmail.com> wrote:> 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 >I make heavy use of STI, and it''s working fine for me in 1.1. Make sure your STI classes are in files with matching names. ParentClass in parent_class.rb SomeSubclass in some_subclass.rb, etc.
> 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.There has been no reported issues with STI in Rails 1.1. And I don''t see any trouble in any of my applications that uses STI with Rails 1.1. Please do explore the issue you''re seeing and post a bug to http://dev.rubyonrails.org when you arrive at something reproducible. -- David Heinemeier Hansson http://www.loudthinking.com -- Broadcasting Brain http://www.basecamphq.com -- Online project management http://www.backpackit.com -- Personal information manager http://www.rubyonrails.com -- Web-application framework
Dave and Paul, I think he''s refferring to my post: http://www.ruby-forum.com/topic/60635#57887 Wilson Bilkovich wrote:> I make heavy use of STI, and it''s working fine for me in 1.1. Make > sure your STI classes are in files with matching names. > ParentClass in parent_class.rb > SomeSubclass in some_subclass.rb, etc.Is this a new thing? I would swear I''ve put SubClass in Class''s model file before... -- Matthew Beale :: mixonic@synitech.com Resume & Portfolio @ http://madhatted.com -- Posted via http://www.ruby-forum.com/.
Matthew Beale wrote:> Wilson Bilkovich wrote: >> I make heavy use of STI, and it''s working fine for me in 1.1. Make >> sure your STI classes are in files with matching names. >> ParentClass in parent_class.rb >> SomeSubclass in some_subclass.rb, etc. > > Is this a new thing? I would swear I''ve put SubClass in Class''s model > file before...Well, either my memory is b0rked or it is new, but regardless, throwing the class definition in the same-named file did fix my issue. Thanks Wilson! -- Matthew Beale :: mixonic@synitech.com Resume & Portfolio @ http://madhatted.com -- Posted via http://www.ruby-forum.com/.