Like I have a class A and a class B, A < B, B < ActiveRecord::Base. as
and bs are two different table in database, as has bs's columns. (I
use postgresql's inherit table).
Now I do 'A.find(:all, conditions => "acol1 = 0")', acol1 does exists
"ActiveRecord::StatementInvalid" throwed, bs does not have acol1
column. "select * from bs where (acol1 = 0)"
How to resolve this? Why A.find does not do "select * from as where
(acol1 = 0)"?