I’m here to tell you the story of Lintron, our pull request linting robot.
Lintron is a tool that I wrote which automatically lints all code in all of our
pull requests at Revelry. We’ve been using it constantly since May and we’ve had
Occasionally, you may want to build a Rails app without ActiveRecord or a database. Your application might only store data using third party APIs, or might not have any persistent data at all. Since Rails optimizes for the most common case (a database-backed app), it refuses to start the server without a database connection by default.
While it is definitely good to have a slim controller for sake of code reusability, readability, and testing, it is also good to have a skinny model (for the exact same reasons). In fact, its just good to have a skinny everything.