class ActiveRecordAnalyzer::Attribute::BelongsTo
Public Class Methods
association?()
click to toggle source
# File lib/active_record_analyzer/attribute/belongs_to.rb, line 2 def self.association? true end
has_many?()
click to toggle source
# File lib/active_record_analyzer/attribute/belongs_to.rb, line 10 def self.has_many? false end
one_to_many?()
click to toggle source
# File lib/active_record_analyzer/attribute/belongs_to.rb, line 14 def self.one_to_many? true end
simple_attribute?()
click to toggle source
# File lib/active_record_analyzer/attribute/belongs_to.rb, line 6 def self.simple_attribute? false end