mastodon/app
Keiji, Yoshimi 7a5086729a reduce unneed query when post without attachements. (#1907)
* reduce unneed query when post without attachements.

This commit reduce following query:

```
 MediaAttachment Load (0.9ms)  SELECT "media_attachments".* FROM "media_attachments" WHERE "media_attachments"."status
_id" IS NULL AND 1=0 ORDER BY id asc
```

* fixed for more simple changes.
2017-04-17 04:23:13 +02:00
..
assets Onboarding modal (#1883) 2017-04-16 20:32:00 +02:00
controllers Onboarding modal (#1883) 2017-04-16 20:32:00 +02:00
helpers View spec fix (#1888) 2017-04-16 03:40:33 +02:00
lib Fix #1870 - Strip control characters out of strings in AtomSerializer (#1876) 2017-04-16 20:32:27 +02:00
mailers I18n health warnings (#1949) 2017-04-16 19:37:01 +02:00
models I18n health warnings (#1949) 2017-04-16 19:37:01 +02:00
presenters About page contact email (#1839) 2017-04-15 13:33:25 +02:00
services reduce unneed query when post without attachements. (#1907) 2017-04-17 04:23:13 +02:00
validators Organize coverage dirs (#1695) 2017-04-13 16:00:31 +02:00
views Do not display "reset password" in admin UI for remote accounts (#1960) 2017-04-16 23:15:58 +02:00
workers Quick best practice cleanup of views/helpers (#1546) 2017-04-12 18:24:18 +02:00