Blogs
Introducing JsonApiable, Because Building RESTful JSON:APIs in Ruby Should Be Easier
If you are building a REST API on Ruby/Rails and decide to implement it as a JSON:API to avoid bike-shedding, chances are you are using fast_jsonapi or active_model_serializers gem to serialize your resources (if you still haven’t decided which on...
Celebrating 2 million views on Ruby On Rails Bosnia
Yesterday we officially reached the 2 millionth view on Ruby On Rails Bosnia. The site was officially published on November 20, 2016. It took us 24 months to get first million views (November 11, 2018).
For the next million views we need to wait...
Extracting a tidy PORO from a messy Active Record model
In 2006 Jamis Buck wrote a famous post called Skinny Controller, Fat Model. In it Jamis observed that Rails developers often put too much logic in controllers, making the code harder to understand and to test than it needs to be.“Skinny controller...