Merge pull request #377 from kubabrecka/typos5

various typos in comments
This commit is contained in:
Robin Ward
2013-03-06 09:14:16 -08:00
8 changed files with 8 additions and 8 deletions

View File

@@ -443,7 +443,7 @@ class Post < ActiveRecord::Base
self.quote_count = quoted_post_numbers.size
end
# Process this post after comitting it
# Process this post after committing it
def trigger_post_process
args = { post_id: id }
args[:image_sizes] = image_sizes if image_sizes.present?

View File

@@ -348,7 +348,7 @@ class User < ActiveRecord::Base
end
# The following count methods are somewhat slow - definitely don't use them in a loop.
# They might need to be denormialzied
# They might need to be denormalized
def like_count
UserAction.where(user_id: id, action_type: UserAction::WAS_LIKED).count
end