more idiomatic models for diary entry subscriptions
authorMikel Maron <mikel_maron@yahoo.com>
Fri, 7 Oct 2016 00:31:10 +0000 (20:31 -0400)
committerMikel Maron <mikel_maron@yahoo.com>
Fri, 7 Oct 2016 00:31:10 +0000 (20:31 -0400)
commit3c01d2e80dc0e5b6942eb7b965c991f5eba5fef2
tree9ba22f523d0f88a19a04d69f9b20b23b4f1fec59
parent44b08cc35d5b5488919059016a427feae62acb05
more idiomatic models for diary entry subscriptions
app/controllers/diary_entry_controller.rb
app/models/diary_entry.rb
app/models/diary_entry_subscription.rb [new file with mode: 0644]
app/models/user.rb
app/views/diary_entry/_diary_entry.html.erb
app/views/diary_entry/view.html.erb
db/migrate/20161002153425_add_join_table_between_users_and_diary_entries.rb