Fixed some bugs in tasks, apple feature:
* Update ordergroup stats when task is destroyed. * Removed assigned caching attribute in task object. * A lot of eager loading for tasks controller.
This commit is contained in:
parent
9919183cb0
commit
0dff5ea784
10 changed files with 52 additions and 46 deletions
9
db/migrate/20121216180646_remove_assigned_from_tasks.rb
Normal file
9
db/migrate/20121216180646_remove_assigned_from_tasks.rb
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
class RemoveAssignedFromTasks < ActiveRecord::Migration
|
||||
def up
|
||||
remove_column :tasks, :assigned
|
||||
end
|
||||
|
||||
def down
|
||||
add_column :tasks, :assigned, :boolean
|
||||
end
|
||||
end
|
||||
Loading…
Add table
Add a link
Reference in a new issue