[Rails] Re: Inheritance Problem

2009-10-24 Thread Frederick Cheung
On Oct 24, 11:07 am, "Michael .." wrote: > > I have the same Problem in find. > Car.find(:all) returns two Records > RallyCar.count > Car.find(:all) returns four Records > This is a known pecularity of STI - when you do a count for the subclass it adds a type = "Car" condition. This obviously

[Rails] Re: Inheritance problem on site5

2009-09-18 Thread pepe
Did you try to change the environment in your computer from development to production and run the application that way? Maybe the problem is seeing only in production mode and you can reproduce it. On Sep 17, 9:08 am, Cyril Lavedrine wrote: > Hello, > > I've uploaded my web application to site5

[Rails] Re: Inheritance problem on site5

2009-09-17 Thread Aldric Giacomoni
With most dev-to-live problems, first we need to check what versions of Rails is used in both environment.. Then try to run your application on your dev machine with the live version of Rails ? -- Posted via http://www.ruby-forum.com/. --~--~-~--~~~---~--~~ You

[Rails] Re: inheritance problem

2009-03-10 Thread Chris Kottom
JRuby can do what you're asking. You should go post the question to the JRuby mailing list and ask for links to basic tutorials which should generally cover this kind of thing. On Tue, Mar 10, 2009 at 7:36 PM, Starr Horne wrote: > > > i create java class and i want to create ruby class and inhe

[Rails] Re: inheritance problem

2009-03-10 Thread Starr Horne
> i create java class and i want to create ruby class and inherit from > this java class You just need to write an adapter in c# and you should be all set. SH --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Ruby o