* meta_search now pulls directly from GitHub
* Updated gems * [inprogress] New pagination helpers used instead of pagination presenters * [inprogress] Favorites refactored to use ActiveRecord * [inprogress] PostSets refactored to use a decorator/dependency injection pattern * [inprogress] Made pool/post interaction more robust * Pool#posts now returns an ActiveRelation object * Fixed unit tests
This commit is contained in:
@@ -38,8 +38,10 @@ class ForumPost < ActiveRecord::Base
|
||||
end
|
||||
|
||||
def update_topic_updated_at
|
||||
topic.update_attribute(:updater_id, CurrentUser.id)
|
||||
topic.touch
|
||||
if topic
|
||||
topic.update_attribute(:updater_id, CurrentUser.id)
|
||||
topic.touch
|
||||
end
|
||||
end
|
||||
|
||||
def initialize_creator
|
||||
|
||||
Reference in New Issue
Block a user