We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c3cd818 commit 33dddd6Copy full SHA for 33dddd6
spec/dummy/app/models/departments_city.rb
@@ -1,4 +1,4 @@
1
class DepartmentsCity < ActiveRecord::Base
2
- has_many :departments
3
- has_many :cities
+ belongs_to :department
+ belongs_to :city
4
end
0 commit comments