Benjamin Neff
|
e82690963d
|
Add # frozen_string_literal: true to all files
|
2017-09-17 19:29:15 +02:00 |
|
cmrd Senya
|
69b46df3d6
|
Notifications for comments on local posts by non-contacts
|
2015-10-14 22:32:19 +02:00 |
|
Dennis Collinson
|
efa79a4ad7
|
Refactor Post Presenter
and comment presenter
|
2012-05-10 12:24:21 -07:00 |
|
Jonne Haß
|
9c67cd7eb9
|
collapse Post#last_three_comments and Commentable#last_three_comments, do not double query comments in CommentsController#index for a JSON response, remove spec that tests ordering as it's not deterministic on psql without specified order
|
2012-01-25 12:44:50 +01:00 |
|
danielgrippi
|
72aee6b2c1
|
don't use .last(3), use .limit(3) instead. also, don't put an order on an association as it isn't overridable. (this commit minimizes AR object instantiation in the stream)
|
2012-01-24 23:47:45 -08:00 |
|
Manuel Schölling
|
bdeae54c6c
|
Make Photos not inherit from Posts
|
2011-10-16 13:58:35 +02:00 |
|
Manuel Schölling
|
6e325f8fd5
|
Introduced Commentable
|
2011-10-16 13:58:35 +02:00 |
|