Page 77 of 127 (2534 total posts)

April 2021

06-04-2021
Unit Testing in Ruby - via @codeship | via @codeship

Unit Testing in Ruby - via @codeship | via @codeship

Source: blog.codeship.com

cancelled_at).to be_a(Time) end end end SINGLE RESPONSIBILITY If your method doesn't fall into one of the three categories above - meaning that its purpose isn't defined by a result, a method call, or a side effect - perhaps it's doing too much.

Tags: software-engineering
06-04-2021
How and why should you use JSON API in your Rails API? - Arkency Blog

How and why should you use JSON API in your Rails API? - Arkency Blog

Source: blog.arkency.com

How and why should you use JSON API in your Rails API? Crafting a well-behaving API is a virtue. It is not easy to come up with good standards of serializing resources, handling errors and providing HATEOAS utilities to your design. There are a lot application-level concerns you need to make - whether you want to send back responses in mutation requests (like PUT/PATCH/POST requests) or just use HTTP headers. And it is hard - and by hard I mean you need to spend some time to get it right. There are other things you need to be focused on which are far more important than your API. Good under...

Tags: software-engineering
06-04-2021
The

The "Goal" of Performance Tuning - via @codeship | via @codeship

Source: blog.codeship.com

Parts are machined for a transmission (my father actually worked as a manager for a company that produced automatic transmissions), and in this factory, raw metal is cut to size for gears, then it's placed in milling machines.

Tags: software-engineering