For quite a bit I’ve been playing with the idea of “schemaless” models, intrigued by the idea of dumping entire hashes into database fields instead of having to add every little setting as a real database column. Where the latter involves the tiresome process of migrations, hash fields in databases can simply be extended ad-hoc.… Continue reading Schemaless Models With Hash Fields or JSONB
After many weeks of work, I am happy to announce the 4.1 release of Cells, the popular view model gem for Ruby. In this release we are paving the way for the upcoming, super fast Cells 5.0 by tidying up the core, and adding some amazing new features. This all happened without any public API… Continue reading Cells 4.1: Block Support, Better Collections, External Layouts!
Being a long time Nokia feature phone user and fan, I was more than excited to get the new Nokia 230. This phone is priced at EUR 80 which is a reasonable price. I hate the “availability” that smartphones give you, and I love how feature phones take away just that. Nokia (or Microsoft) advertises… Continue reading Nokia 230 Review: Nice looking, but an Engineering Breakdown
The Hamlit gem is a reimplementation of the popular Haml markup language, which unfortunately is based on a quite old, convoluted codebase. Hamlit borrows the syntax, but rewrites the entire engine code leveraging the excellent Temple gem, which is a parser, compiler and optimizer for template languages and is also used in Slim. Wow, that’s… Continue reading Cells-Hamlit: The Fastest View Engine Around.
Just in time for Christmas, Reform 2.1 is ready for you. It has two great new additions: we now support the awesome Piotr Solnica’s dry-validation gem, and I introduced validation groups. Reform is a form object gem that decouples validation of data from models. Its full documentation can be found on the Trailblazer website. Validation… Continue reading Reform 2.1 With Dry-Validation and Grouping
The great thing about being unemployed is you finally get to work on Open-Source features you always wanted to do but never had the time to. Representable 2.4 internally is completely restructured, it has lost tons of code in favor for a simpler, faster, functional approach, we got rid of internal state, and it now… Continue reading Representable 2.4: How Functional Programming Speeds Up Rendering And Parsing.
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!