use belongs_to? method
replace deprecated find :all