Creates the database infrastructure around messaging, including a join table
Does many of the associations around messages. However, CSS demo interrupts.
More associations
Finishes relevant associations
Makes space for a new message thread form
Fixes up associations so we can keep track of authored and non-authored message threads
Sets up message-threads index view, referring to a partial for individual message threads
Changes routes again: neither message_thread route is nested. We can just use the current user, because we're never going to see anyone else's messages
Sets up the partial for a single message thread. Hopefully, can include logic for who is involved
Actually going to set it up so that we see only the threads, and can click on the thread name to see the messages in it.
Beginning to implement logic for how we show who's in the conversation
Has the linking to new message thread structure in place, as well as the entire logic for which users are displayed. We now actually make the new message part.
Puts in the create message thread controller action
Puts in the new message form, except for the choices of users to send the messages to. This will be a checkbox. A new message is created with each thread (should refactor more idiomatically later).
Adding a bunch of recipients at once using a checkbox; I think I have the nested form setup correct? (Including putting attr-accessible with the standard pluralization for recipients).
Removing notifications from the whole set-up for now. Maybe not the most necessary part of facebook.
The message show feature seems to be reasonably working. Bug was caused by having a gratuitous equals sign on an each loop in ERB.
Tweaked text-showing logic (and spacing) slightly so that it is verified to work from the perspectives of different users.
Puts in infrastructure for the messages index page to be shown at the appropriate time. Just need to write the view.
Finishes the messages index view. Adds a missing association. On the wish list: better way to extract user images. But I guess this might be Paperclip.