]> git.openstreetmap.org Git - rails.git/commit
Rename Friend model to Friendship
authorAndy Allan <git@gravitystorm.co.uk>
Wed, 19 Jun 2019 14:39:25 +0000 (16:39 +0200)
committerAndy Allan <git@gravitystorm.co.uk>
Wed, 19 Jun 2019 14:39:25 +0000 (16:39 +0200)
commit1cf8fec58d2e32d431aaee51213d738241e39e66
treed2b39145e6a1a965957673e136385da1b5c01b72
parent31edc7dff6f4305366d0f93d35ba3fb1956bb71f
Rename Friend model to Friendship

This better describes what the model represents, which is the relationship
between the two users.
app/controllers/users_controller.rb
app/models/friendship.rb [moved from app/models/friend.rb with 89% similarity]
app/models/user.rb
app/views/users/show.html.erb
test/controllers/changesets_controller_test.rb
test/controllers/diary_entries_controller_test.rb
test/controllers/users_controller_test.rb
test/factories/friendships.rb [moved from test/factories/friends.rb with 83% similarity]
test/models/user_test.rb