Don't Use Floats and Use the Ruby Money Gem to Represent Currencies

It's surprising how often you still see this in the wild

#Ruby on Rails
Added: 5 Dec 2021
GitHub - karafka/waterdrop: WaterDrop is a standalone Karafka component library for generating Kafka messages

WaterDrop is a standalone Karafka component library for generating Kafka messages - GitHub - karafka/waterdrop: WaterDrop is a standalone Karafka component library for generating Kafka messages

#Ruby
Added: 5 Dec 2021
Ruby Open Source Projects For Beginners

Open-source is the greatest opportunity to gather real-world experience while you are still on your journey of getting into the industry.

#Ruby
Added: 5 Dec 2021
Bearer | Why Hotwire in 2021

Find out why engineering team at Bearer made the decision last year to swap from a React on Rails SPA to a Hotwire application.

#HOTWire#Javascript#Ruby on Rails
Added: 5 Dec 2021
Rails "Joins Tables" are alphabetical | Sami Birnbaum

Imagine we have 2 models Area Lane

#Ruby on Rails
Added: 3 Dec 2021
Introduction to Rails Event Store

Rails Event store is a storage of events. Optimize operations to be as fast as possible. We can only read the history of events and add new events.

#Ruby on Rails
Added: 3 Dec 2021
Throw, Catch, Raise, Rescue – I’m So Confused! - avdi.codes

One of the aspects of Ruby that often confuses newbies coming from other languages is the fact that it has both throw and catch and raise and rescue statemen…

#Ruby
Added: 3 Dec 2021
ActiveRecord::Aggregations::ClassMethods

Active Record implements aggregation through a macro-like class method called composed_of for representing attributes as value objects.

#Ruby on Rails
Added: 2 Dec 2021
How to do multi-step forms in Rails - Code with Jason

Two kinds of multi-step forms The creation of multi-step forms is a relatively common challenge faced in Rails programming (and probably in web development in general of course). Unlike regular CRUD interfaces, there’s not a prescribed “Rails Way” to do multi-step forms. This, plus the fact that multi-step forms are often inherently complicated, can make …

#Ruby on Rails
Added: 2 Dec 2021
Trying Elixir as a Rubyist

Elixir is similar enough to Ruby to be familiar, but different enough to get tripped up by! Image by OpenIcons from Pixabay I’ve been working through Dave Thomas’s fantastic book Progra…

#Ruby
Added: 25 Nov 2021
Understanding Ruby Proc objects - Code with Jason

What we’re going to do and why If you’re a Ruby programmer, you almost certainly use Proc objects all the time, although you might not be consciously aware of it. Blocks, which are ubiquitous in Ruby, and lambdas, which are used for things like Rails scopes, both involve Proc objects. In this post we’re going …

#Ruby
Added: 24 Nov 2021
220: Turbo Native for Android and Hotwire with Jay Ohms

Your browser does not support the audio element. Download In this episode, Donn talks to Jay Ohms about Turbo Native for Android, Hotwire, and how to build apps faster with Hotwire, Turbo, Stimulus, and Strata. Jay is an Android developer at Basecamp.com and Hey.com and has been b

#HOTWire#Ruby on Rails
Added: 24 Nov 2021

This is a Turbo Training page. Each section will contain an exercise to solve using Turbo. It will progress in difficulty.

#Ruby on Rails
Added: 24 Nov 2021
GitHub Issue-style File Uploader Using Stimulus and Active Storage

I recently built a drag-and-drop and copy-and-paste file uploader for Markdown (like GitHub’s editor) using Stimulus and Active Storage. Check out the code and my write up on it.

#Frontend#Ruby on Rails
Added: 24 Nov 2021
Audit Logging in Rails

Need to add audit logging to your Rails application? In this post, I review five popular Ruby gems you can use, walk through rolling your own solution, and share some recommendations about what solution to choose.

#Ruby on Rails
Added: 23 Nov 2021
Writing AWS Lambda Functions in Ruby

AWS Lambda lets you run your code without worrying about the nuts and bolts of server management or scaling. You might even say it's "serverless." In this article, Jeffrey Morhous shows us how to get started writing Lambda functions in Ruby.

#Ruby
Added: 23 Nov 2021
A Comprehensive Checklist of Top 6 Ruby on Rails Security Best Practices

Adopt these top Ruby on Rails Security Best Practices to give your app an edge!

#Ruby on Rails
Added: 19 Nov 2021
How to use AWS Rekognition using Ruby on Rails!

Ever wanted to use a technology that can identify specific objects contained in any given image? Well look no further as AWS Rekognition fulfils that need. AWS Rekognition is a tool that is part of…

#AI#Ruby on Rails
Added: 19 Nov 2021
Does ES6 make JavaScript frameworks obsolete?

Is ES6 the JavaScript release that will finally free us from the endless cycle of frameworks?

#Javascript
Added: 19 Nov 2021
Native CSS nesting: What you need to know - LogRocket Blog

Native CSS will support CSS nesting. What will that look like? What are its advantages? Learn more about native CSS nesting in this post.

#CSS#Frontend
Added: 19 Nov 2021
How to Improve Code Quality on a Ruby on Rails Application

Taking ages to deliver small changes? Constantly sacrificing code quality? Is it possible to ever pay off tech debt? Yes, it is! Learn which Ruby code quality tools you can use to perform static code analysis and improve code quality. This post is a summary of Ernesto Tagwerker's 'Trapped in the Tar Pit?' talk.

#Ruby on Rails
Added: 19 Nov 2021
Rack Middlewares in Ruby on Rails

In this post, I will describe what Rack is and how to write middlewares in Ruby on Rails. I will use common production examples.

#Ruby on Rails
Added: 19 Nov 2021
Metaprogramming in Ruby

The term metaprogramming sounds quite intimidating, especially for newbie developers such as myself. However, it’s a common misconception…

#Ruby
Added: 19 Nov 2021
What should I NOT write tests for? - Code with Jason

One of the most common questions about testing, including what to write tests for, is what NOT to write tests for. When people ask me what to write tests for, my honest but maybe not very helpful answer is “basically everything”. But I don’t test literally absolutely everything. There are some cases when I choose …

#Ruby on Rails#testing
Added: 19 Nov 2021
TimescaleDB: integrating time-series data with Ruby on Rails—Martian Chronicles, Evil Martians’ team blog

Overview of TimescaleDB highlights. Understanding time-series data. Integrating with Ruby on Rails. Implementing views counter demo

#database#Ruby on Rails
Added: 19 Nov 2021
First Previous Next Last