Never use ActiveRecord persistence methods in Rails controllers
Rails controllers are a mess. There’s one relatively simple practice I’ve adopted that helps improve their code significantly: Never use ActiveRecord persistence methods in Rails controllers, and never, ever use ActiveRecord filters.
Post a comment