From 0e664b2caf94b9ced675ff5569e71d43dda77a6a Mon Sep 17 00:00:00 2001 From: Raphael Sofaer Date: Mon, 11 Jul 2011 16:22:36 -0700 Subject: [PATCH] Fix likes on comments migration --- db/migrate/20110707234802_likes_on_comments.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/db/migrate/20110707234802_likes_on_comments.rb b/db/migrate/20110707234802_likes_on_comments.rb index 7b3e80e75..78a2fa272 100644 --- a/db/migrate/20110707234802_likes_on_comments.rb +++ b/db/migrate/20110707234802_likes_on_comments.rb @@ -1,5 +1,5 @@ class LikesOnComments < ActiveRecord::Migration - class Likes < ActiveRecord::Base; end + class Like < ActiveRecord::Base; end def self.up remove_foreign_key :likes, :posts