@@ -279,8 +279,8 class Project < ActiveRecord::Base | |||||
279 | raise ActiveRecord::Rollback, "Overriding TimeEntryActivity was not successfully saved" |
|
279 | raise ActiveRecord::Rollback, "Overriding TimeEntryActivity was not successfully saved" | |
280 | else |
|
280 | else | |
281 | self.time_entries. |
|
281 | self.time_entries. | |
282 |
where( |
|
282 | where(:activity_id => parent_activity.id). | |
283 |
update_all( |
|
283 | update_all(:activity_id => project_activity.id) | |
284 | end |
|
284 | end | |
285 | end |
|
285 | end | |
286 | end |
|
286 | end |
General Comments 0
You need to be logged in to leave comments.
Login now