News

Rails 6 adds Purpose Metadata to Cookies – Saeloun Blog

Rails 6 adds purpose metadata to cookies to prevent attackers from copying the value of one cookie and use it for another.

Rails 6 - Action Mailbox tryout – Saeloun Blog

Rails 6 has added Action Mailbox to process inbound emails. This post tries a deep dive trying to set it up

GitHub - piotrmurach/strings-case: Convert strings between different cases.

Convert strings between different cases. Contribute to piotrmurach/strings-case development by creating an account on GitHub.

The Sandbox Show: Idempotency - YouTube

In the pilot episode of the Sandbox Show, Shannon Skipper and Richard Moot deep dive into idempotency including the history of the concept,...

In the pilot episode of the Sandbox Show, Shannon Skipper and Richard Moot deep dive into idempotency including the history of the concept, its use in REST, ...

The Delegation Challenge of Ruby 2.7 · On the Edge of Ruby

Ruby 3.0 will introduce the separation between positional and keyword arguments. The upcoming Ruby 2.7 release aims to introduce warnings f...

Ruby 3.0 will introduce the separation between positional and keyword arguments. The upcoming Ruby 2.7 release aims to introduce warnings for every argument behavior that will change in Ruby 3.0 to ease migration. However, delegation that works for Ruby 2.6, 2.7 and 3 seems a hard problem to solve.

Scalable Concurrency — Meet Non-Blocking I/O - Better Programming - Medium

In nearly all modern web apps, we have a lot of I/O. We talk to the database and ask for records or insert/update them. More often than not...

In nearly all modern web apps, we have a lot of I/O. We talk to the database and ask for records or insert/update them. More often than not, we access some files from the hard disk, which again is…

Unexpected benefits of storing commands | Arkency Blog

You probably know that Rails Event Store, like the name suggests, is meant to store events. Commands are a different concept, but they're v...

You probably know that Rails Event Store, like the name suggests, is meant to store events. Commands are a different concept, but they're very similar in structure - after all it's just a set of attributes. So in one of our projects we slightly abused RES and made it store commands alongside with events.

Trailblazer tutorial: refactoring legacy rails views with Trailblazer

Why does My Memory Usage Grow Asymptotically Over Time?

Why on earth does my memory consumption chart look like that? It’s a question I hear every week. To help answer that question, I wrote a ...

Why on earth does my memory consumption chart look like that? It’s a question I hear every week. To help answer that question, I wrote a Web server request s...

GitHub - Isty001/method_decorator.rb: Chainable method decorators for Ruby

Chainable method decorators for Ruby. Contribute to Isty001/method_decorator.rb development by creating an account on GitHub.

How Ruby REALLY uses Memory: On the Web and Beyond

I wrote How Ruby uses Memory over four years ago, but there continue to be many misunderstandings about Ruby’s memory behavior. In this p...

I wrote How Ruby uses Memory over four years ago, but there continue to be many misunderstandings about Ruby’s memory behavior. In this post, I will use a si...

Rails 6.0.1 released | Riding Rails

Hi everyone,

Ruby*

Check out the Ruby* community on Discord - hang out with 11 other members and enjoy free voice and text chat.

Deep dive into Minitest · Hrvoje Šimić

Have you ever wondered what happens when you run a Minitest test suite? How does it work?

Infinite scrolling in Apollo GraphQL and GraphQL-ruby - Blog by Abhay Nikam

Add infinite scrolling load data continuously and eliminating the need for pagination in Apollo GraphQL and GraphQL-ruby

Managing Rails schema and data migrations without losing your mind | Boring Rails: Skip the bullshit and ship fast

Rails database migrations are extremely powerful, but can be a mess if you don’t avoid the traps. This article outlines a boring way to h...

Rails database migrations are extremely powerful, but can be a mess if you don’t avoid the traps. This article outlines a boring way to handle schema and data migrations effectively.

GitHub - prism-rb/prism: Build frontend web apps with Ruby and WebAssembly

Build frontend web apps with Ruby and WebAssembly. Contribute to prism-rb/prism development by creating an account on GitHub.

Introducing Skunk: Combine Code Quality and Coverage to Calculate a Stink Score - Ruby on Rails Upgrades

Two weeks ago I had the opportunity to speak at Solidus Conf 2019.I presented Escaping the Tar Pitfor the first time and I got to talk abou...

Two weeks ago I had the opportunity to speak at Solidus Conf 2019.I presented Escaping the Tar Pitfor the first time and I got to talk about a few ...

JRuby 9.2.9.0 Released — JRuby.org

Deep Dive: Ranges and Slices - YouTube

Today, I do a deep dive into numeric ranges and slices across a variety of languages. Well, I'd like to go deeper and also cover more langu...

Today, I do a deep dive into numeric ranges and slices across a variety of languages. Well, I'd like to go deeper and also cover more languages, but time and...

The hidden cost of the Ruby 2.7 dot-colon method reference usage - Running with Ruby

Note: This case is valid also for the “old” #method method usage. The reason why I mention that in the “dot-colon” context, is the ...

Note: This case is valid also for the “old” #method method usage. The reason why I mention that in the “dot-colon” context, is the fact that due to the syntax sugar addition, this style of coding will surely be used more intensely. One of the most interesting for me features of the upcoming Ruby 2.7 […]

GitHub - matt-harvey/tabulo: Ruby terminal table generator with a DRY, column-based API

Ruby terminal table generator with a DRY, column-based API - matt-harvey/tabulo

GitHub - avmnu-sng/rspec-tap-formatters: TAP Formatters for RSpec 3

TAP Formatters for RSpec 3. Contribute to avmnu-sng/rspec-tap-formatters development by creating an account on GitHub.

Rails 6 adds guard against DNS rebinding attacks – Saeloun Blog

Rails 6 adds guard against DNS rebinding attacks by allowing whitelisting of hosts in config

Trailblazer tutorial: updating old fat controller - part 4. 2n it sp.