This method is deprecated or moved on the latest stable version. The last existing version (v2.3.8) is shown here.
belongs_to?()
Returns true if self is a belongs_to reflection.
# File activerecord/lib/active_record/reflection.rb, line 126 def belongs_to? macro == :belongs_to end