rubocop
rubocop
Furthering my quest for rails best practices I’ve added rubocop to my arsenal. There were some changes but nothing really objectionable. Some parts felt a bit nit-picky, like requiring single quotes when no interpolation happens, but all-in-all I believe it’s a net plus. I’ll have to gain some more experience when starting the meat of the code.
codeclimate
I also extracted more code into concerns and cleaned up the default_responses concern. So now codeclimate is happy again. The actual default responses are so small now, that I consider inlining them again. That will probably become more pertinent as soon as save/update need to do more than send the model to the database. Again, something that needs more experience with actual use cases.