assume you have a case like this
class Artist < ActiveRecord::Base
has_many :albums
belongs_to :record_label
def albums
return 5
end
end
Is it possible to access the albums relationship without using the Artist#albums, since it has been overridden?
This can happen with mixins or other random cases, it is mostly helpful for tests. Then you can say Artist#albums is actually a relationship to albums