about summary refs log tree commit diff
path: root/app/models/conversation_mute.rb
diff options
context:
space:
mode:
authoralpaca-tc <alpaca-tc@alpaca.tc>2017-05-25 21:14:36 +0900
committerEugen Rochko <eugen@zeonfederated.com>2017-05-25 14:14:36 +0200
commit08dce5e60792112ca8df4aa5de3663fd7ad51e77 (patch)
treec007e13c212b1c2f1a5e75937500b5196017604e /app/models/conversation_mute.rb
parent2469fd1cdcbb3778878a33a7879d5f1fa563c476 (diff)
Refactor Setting (#3302)
* @object is not needed

* Remove unneeded dependencies

* Do not call private method

* Prefer #respond_to_missing? over #respond_to?

`#respond_to?` doesn't support `User.settings.method(:method_name)`

* Use find_or_initialize_by instead of
Diffstat (limited to 'app/models/conversation_mute.rb')
0 files changed, 0 insertions, 0 deletions