April 2021

API With Sinatra and Sequel: Ruby Tutorial | Toptal
The rise of the web and mobile applications has led to an increased need for back-end API services. Ruby on Rails' philosophy seemingly makes it the ideal framework for creating back-end APIs. However, using Rails only for the API is overkill. In this article, Freelance Software Engineer Boško Ivanišević explore...

Concurrency Deep Dive: Multi-process | AppSignal Blog
A deep dive into achieving concurrency using multi-process.
How To Implement Simple Authentication Without Devise
Almost every web app requires a sign in form.In Ruby, the popular choice is the Devise gem for Rails.
molybdenum-99/reality: Comprehensive data proxy to knowledge about real world
Comprehensive data proxy to knowledge about real world - molybdenum-99/reality


Company Logo API
We're happy to announce Clearbit's free Logo API. While services like Gravatar make it straightforward to pull in a user's default avatar, we haven't found anything that caters well to company logos. And yet there's a lot of clear use-cases ranging from setting an organization's default image on signup to

Unit Testing in Ruby - via @codeship | via @codeship
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.

Optimizing Rails for Memory Usage Part 1: Before You Optimize // Collective Idea | Crafting web and mobile software based in Holland, Michigan
Part one of a four-part series which will show you how to optimize a memory-heavy Rails API action.
Command bus in a Rails application
Command bus in a Rails application URL: http://us5.campaign-archive2.com/?e=4264313527&id=2a6b17d29f&u=1bb42b52984bfa86e2ce35215 Type: link Domain: us5.campaign-archive2.com

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? 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...

The "Goal" of Performance Tuning - via @codeship | via @codeship
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.

Hunting for great names in programming – Signal v. Noise
One of the real delights of programming is picking great variable, method, and class names. But an even greater treat is when you can name pairs, or even whole narratives, that fit just right. And …

Learn - Sinatra Activerecord Setup
Learn about Sinatra Activerecord Setup. Start learning to code for free with real developer tools on Learn.co.

Exploring Cryptography Fundamentals in Ruby
Jesus Castello walks through the basics of cryptography using examples in Ruby. This is an excellent primer on crypto.
media.pragprog.com/articles/jan_03_enbug.pdf
media.pragprog.com/articles/jan_03_enbug.pdf URL: http://media.pragprog.com/articles/jan_03_enbug.pdf Type: document Domain: media.pragprog.com
Sinatra Tests 101 - MiniTest
Sinatra Tests 101 - MiniTest URL: http://binarylies.ghost.io/sinatra-tests-101-minitest Type: link Domain: binarylies.ghost.io
How Long is a Method?
Welcome, subscribers new and old to another week, another newsletter and a new entry in the Catalog of Smells!