Skip to main content

Insulate Yourself From Changes

Chris Oliver May 13, 2013

As we build software, a lot of us get caught up in Rails. You build your application around Rails' suggestions and before you know it, you're really stuck. Just because Rails gives you controllers, models, and helpers doesn't mean your code needs to be bent to fit inside of them. In fact, in order to build well testable code, you should deviate from this.

Rails developers are often afraid of stepping outside Rail's default boundaries and creating their own plain classes to handle your business logic. Gary Bernhardt's talk has a bunch of good examples and advice for building applications that use Rails as an interface to HTTP and not your entire application.

P.S. You might enjoy following me on Twitter.


Loading...

Subscribe to the newsletter

Join 22,346+ developers who get early access to new screencasts, articles, guides, updates, and more.

    By clicking this button, you agree to the GoRails Terms of Service and Privacy Policy.

    More of a social being? We're also on Twitter and YouTube.