only use 1 query and do not load all objects to find out if it is a relation

the .all causes a select * from table on rails 2/3 -> server = dead :D

@zilkey