Avoid using or comparing explicit model ids
authorAndy Allan <git@gravitystorm.co.uk>
Sun, 22 Oct 2017 20:58:09 +0000 (21:58 +0100)
committerAndy Allan <git@gravitystorm.co.uk>
Sun, 22 Oct 2017 20:58:09 +0000 (21:58 +0100)
commitd581f1766532e9b92565e7af4ed086fdda8d780a
tree4254b5e19a54edb03090a0aeca93abd9c3e54e6d
parent44b817a6d59e9ad120c0fb73686b942581b4af82
Avoid using or comparing explicit model ids

The code is easier to read using higher-level concepts.
app/controllers/changeset_controller.rb
app/controllers/message_controller.rb
app/controllers/user_blocks_controller.rb
app/controllers/user_controller.rb
app/controllers/user_roles_controller.rb