The Only Alternative to a Rails Monolith are Micro Services? Bullshit!

The Rails Way is wrong and has led thousands of projects to an unmaintainable state of highly coupled software assets. In order to keep the growing complexity maintainable, and to maximize reusability, people now start to introduce “micro services”, which are physically separated, completely stand-alone applications that provide a subset of the application’s functionality via… Continue reading The Only Alternative to a Rails Monolith are Micro Services? Bullshit!

MiniTest::Spec, Capybara, Rails Integration Tests, and Cells: It Works!

I had a hard time getting MiniTest::Spec working with Capybara matchers, in combination with Rails integration tests and cells tests. I almost switched to Rspec but then finally figured out how simple it is. Why People Use Rspec. The reason people use Rspec is: It works. Everything popular is supported out-of-the-box provided by the hard… Continue reading MiniTest::Spec, Capybara, Rails Integration Tests, and Cells: It Works!

Disposable – The Missing API of ActiveRecord

Disposable gives you Twins. Twins are non-persistent domain objects. They know nothing about persisting things, hence the gem name. They Allow me to model object graphs that reflect my domain without restricting me to the database schema. Let me work on that object graph without writing to the database. Only when syncing the graph writes… Continue reading Disposable – The Missing API of ActiveRecord

On Rails 5, Presenters And Form Objects.

My original plan to not blog about conceptual problems in Rails for the next months has failed. Too many discussions about presenters, decorators, object-oriented helpers and “oh-so-awesome-and-new” form objects I had to overhear. With Aaron’s great keynote and many comments on the aforementioned concepts, I feel the urge to clarify what’s a presenter, a view… Continue reading On Rails 5, Presenters And Form Objects.