Allow Messages to have more than one recipient. Refs #384
authorAdam Pohorecki <adam@pohorecki.pl>
Mon, 16 Dec 2013 12:57:40 +0000 (13:57 +0100)
committerAdam Pohorecki <adam@pohorecki.pl>
Tue, 17 Dec 2013 10:15:37 +0000 (11:15 +0100)
commit292b38e69e2a609a09ddbb203b92d286008c8069
tree2a62a0976b09cc1ee2750f8538a356eb4cc64f2d
parentb0316b030fc8db2fd840e6eb84b806ea0e184272
Allow Messages to have more than one recipient. Refs #384
14 files changed:
app/controllers/messages_controller.rb
app/models/message.rb
app/models/message_recipient.rb [new file with mode: 0644]
app/models/message_thread.rb
app/models/user.rb
app/views/messages/_form.html.erb
db/migrate/20131210111917_create_messages_users.rb [new file with mode: 0644]
db/schema.rb
test/fixtures/messages.yml
test/fixtures/messages_users.yml [new file with mode: 0644]
test/functional/messages_controller_test.rb
test/unit/message_test.rb
test/unit/message_thread_test.rb
test/unit/send_message_test.rb