summaryrefslogtreecommitdiff
path: root/app/models
diff options
context:
space:
mode:
Diffstat (limited to 'app/models')
-rw-r--r--app/models/event.rb2
-rw-r--r--app/models/user_interacted_project.rb (renamed from app/models/user_interacted_projects.rb)2
2 files changed, 2 insertions, 2 deletions
diff --git a/app/models/event.rb b/app/models/event.rb
index 166c3f1b4b1..86a14044bc2 100644
--- a/app/models/event.rb
+++ b/app/models/event.rb
@@ -395,6 +395,6 @@ class Event < ActiveRecord::Base
# Note the call to .available? is due to earlier migrations
# that would otherwise conflict with the call to .track
# (because the table does not exist yet).
- UserInteractedProjects.track(self) if UserInteractedProjects.available?
+ UserInteractedProject.track(self) if UserInteractedProject.available?
end
end
diff --git a/app/models/user_interacted_projects.rb b/app/models/user_interacted_project.rb
index ba6ed2bd2ff..5e7f6d5eeda 100644
--- a/app/models/user_interacted_projects.rb
+++ b/app/models/user_interacted_project.rb
@@ -1,4 +1,4 @@
-class UserInteractedProjects < ActiveRecord::Base
+class UserInteractedProject < ActiveRecord::Base
belongs_to :user
belongs_to :project