rails 3.1 inflection problem
问题 I have a Rails 3.1 app with the following 2 models class Listing < ActiveRecord::Base has_many :listing_saves end class Team < ActiveRecord::Base has_many :listing_saves has_many :saved_listings, through: :listing_saves, source: 'listing' end The Join model looks like this class ListingSave < ActiveRecord::Base belongs_to :team belongs_to :listing end Mow I think that there is an inflection problem because whenever I try to run my tests I get the following error (this is an example of an