Replace Message#read with Message#mark_read_by_user
authorAdam Pohorecki <adam@pohorecki.pl>
Mon, 23 Dec 2013 16:12:44 +0000 (17:12 +0100)
committerPawel Pierzchala <pawelpierzchala@gmail.com>
Tue, 24 Dec 2013 13:54:05 +0000 (14:54 +0100)
commit61d628f1a8e014a2abb4d9d36f355aed8fe07806
tree7e2f8fcea4bac79e60e32418f2bb881d41552377
parent0067c3d46d471b99e6ab1f50f5a8fca0c92ff75e
Replace Message#read with Message#mark_read_by_user
20 files changed:
app/controllers/messages_controller.rb
app/models/committership.rb
app/models/message.rb
app/models/user.rb
app/models/user_messages.rb
app/services/send_reply.rb
app/views/messages/show.html.erb
db/migrate/20131223102559_add_message_markers_to_messages_users.rb [new file with mode: 0644]
db/schema.rb
test/factories/messages.rb
test/fixtures/messages.yml
test/functional/messages_controller_test.rb
test/micro/send_reply_test.rb
test/unit/committership_test.rb
test/unit/membership_test.rb
test/unit/merge_request_test.rb
test/unit/message_test.rb
test/unit/use_cases/create_membership_test.rb
test/unit/user_messages_test.rb
test/unit/user_test.rb