mastodon/app
Keiji, Yoshimi 7a5086729a reduce unneed query when post without attachements. ()
* 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 () 2017-04-16 20:32:00 +02:00
controllers Onboarding modal () 2017-04-16 20:32:00 +02:00
helpers View spec fix () 2017-04-16 03:40:33 +02:00
lib Fix - Strip control characters out of strings in AtomSerializer () 2017-04-16 20:32:27 +02:00
mailers I18n health warnings () 2017-04-16 19:37:01 +02:00
models I18n health warnings () 2017-04-16 19:37:01 +02:00
presenters About page contact email () 2017-04-15 13:33:25 +02:00
services reduce unneed query when post without attachements. () 2017-04-17 04:23:13 +02:00
validators Organize coverage dirs () 2017-04-13 16:00:31 +02:00
views Do not display "reset password" in admin UI for remote accounts () 2017-04-16 23:15:58 +02:00
workers Quick best practice cleanup of views/helpers () 2017-04-12 18:24:18 +02:00