TableMove renamed to UserTableMove

This commit is contained in:
2012-08-29 17:53:13 +02:00
parent 48c289ce31
commit cd01261040
3 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -60,7 +60,7 @@ class List
end
def move_to_table to_table
TableMove.create list: self, from_table_id: table_id, to_table: to_table
UserTableMove.create list: self, from_table_id: table_id, to_table: to_table
self.table = to_table
self.section_id = to_table.section_id
save
@@ -1,4 +1,4 @@
class TableMove
class UserTableMove
include SimplyStored::Couch
belongs_to :list
belongs_to :from_table, class_name: 'Table'