ruby

cover image

ZJIT has been merged into upstream Ruby. Learn about its architecture!

cover image

Ruby implementation of Algorithms,Data-structures and programming challenges - kumar91gopi/Algorithms-and-Data-Structures-in-Ruby

An interesting twist in my recent usage of SQLite was the fact that I noticed my research scripts and the database intertwine more. SQLite is unique in that it really lives in-process, unlike standalone database servers. There is a feature to that which does not get used very frequently, but can be indispensable in some situations. By the way, the talk about the system that made me me to explore SQLite in anger can now be seen here. Normally it is your Ruby (or Python, or Go, or whatever) program which calls SQLite to make it “do stuff”. Most calls will be mapped to a native call like sqlite3_exec() which will do “SQLite things” and return you a result, converted into data structures accessible to your runtime. But there is another possible direction here - SQLite can actually call your code instead.

cover image

Where you get to play with an interactive demo to visualize how Enumerator::Lazy helps avoid unnecessary work

cover image

Discover essential tips and tricks to boost your productivity with Ruby on Rails console commands and features.

cover image

Protect your Ruby projects from supply chain attacks with Bundler 2.6's new checksum verification. Learn how to implement this crucial security feature today.

cover image

Though it looks like magic, it’s still just programming. This book will help you really understand the Rails source code.

cover image

Let's explore Ruby's concurrency ecosystem, its various concurrency models, and their practical applications in modern software development

cover image

Rack is the foundation for every popular Ruby web framework in existence. In the first part of a three-part series, let's set up a Rack app.

cover image

The catalog of annotated code examples of all design patterns, written in Ruby.

cover image

Let's see how Sorbet addresses the challenges of dynamic typing in Ruby.

cover image

Get a better understanding of Ruby enumerators by looking at them from 3 different perspectives.

cover image

We'll dive into five common Ruby mistakes and see how we can combat them.

cover image

I collected several books from different media. You can download any book from here and enjoy your reading. Happy reading! - emrancub/books

cover image

Code written with reduce can be intimidating. This 2-step approach can help.

cover image

Ruby is a programming language that has been accepted with open arms since 1995, and thanks to its...

cover image

Exceptional Creatures is Honeybadger.io's documentation of Ruby's exception system, with a twist. Collect them all!

cover image

In the second and final part of our series, we'll explore using RSpec for tests in your Rails application.

cover image

RSpec is a library for writing and running tests in Ruby applications. As its landing page states,...

cover image

Ruby, renowned for its dynamic and object-oriented nature, boasts an array of features that elevate...

A protip by alfuken about ruby and sinatra.

cover image

In this blog post, we will delve into the major enhancements introduced in Ruby 3.3’s IRB, as well as what’s currently planned for the next year.

cover image

When working on large-scale projects, quickly creating test data or dummy data can be crucial. In...

cover image

Ruby 3.2 saw the introduction of object shapes which speedup instance variables access in most cases, but can be slower in some pathological cases.

cover image

HTTP (Hypertext Transfer Protocol) is the foundation of data communication on the World Wide Web....

cover image

Did you know you can use Flipper to create and manage feature flags for your client-side app, even though Flipper is a Ruby gem?

cover image

Ruby is a dynamic and flexible programming language known for its elegant syntax and powerful...

cover image

As Rails developers, we often encounter performance issues in different parts of our applications. But establishing connections to external services is usually the place we overlook. Let me introduce the concept of connection pooling and show you an example of easy, performant connections to RabbitMQ.

cover image

In the era of hyper-sophisticated machine learning models like ChatGPT, it is surprising how effective the classic decision tree model remains, especially when used in conjunction with other techniques, such as bagging, boosting and random forests. In this blog post we demonstrate how to build an effective decision tree model, and train this model on some sample data.

cover image

As Rails developers, we often encounter performance issues in different parts of our applications. But establishing connections to external services is usually the place we overlook. Let me introduce the concept of connection pooling and show you an example of easy, performant connections to RabbitMQ.

cover image

How many Ruby gems do you have currently installed? With around 50 new gems released daily, it is...

cover image

This article shows the obscure but useful capabilities of Hash, a simple but equally powerful data structure in Ruby.

cover image

In part one of this series, we introduced Devise using an example app to explore modules, helpers,...

cover image

Introduction: In the quest to solve complex optimization problems and simulate natural evolution,...

cover image

Because 0x0000000103f70c98 never helped anyone.

cover image

In this article, we'll introduce Ruby on Rails' lesser-known but powerful cousin Sinatra. We'll use...

cover image

Discover the ins and outs of logging in Ruby, including how to customize your logs and use logging libraries like Lograge.

cover image

Pattern matching is a powerful technique in programming that allows you to match data structures and...

cover image

Learn how to start logging with Ruby and go from basics to best practices in no time.

cover image

A tale of false assumptions.

cover image

Let's look into three options for code loading in Ruby: using load, require, and autoload.

cover image

Learn how to implement a Sinatra API and protect its endpoints using Auth0

cover image

Discover how to customize exceptions in Ruby and highlight exceptions in your logs.

cover image

Discover the Best Ruby gems to enhance your project and make development easier. From testing to deployment, these gems will streamline your workflow.

cover image

Get started with web scraping in Ruby using this step-by-step tutorial! Learn how to scrape a site with Nokogiri and RSelenium libraries.

cover image

A collective devoted to the craft of software engineering where expertise is transmuted into joy.

cover image

Working with collections, such as arrays and hashes, is a fundamental part of programming in Ruby....

cover image

How can I create nested lists in YAML? I want to get: {"Hello": ["as", ["http://", ["cat"]]]} Here's my YAML that doesn't work (with pyYaml): Hello: - &

cover image

As a Ruby developer, you can immediately incorporate AI into your applications through the use of the OpenAI API. Our beginners guide will take you through step by step.

cover image

Are your feature flags states leaking between your test cases? Stub them all to make your test suite more reliable. Here’s how.

cover image

Kimurai is a modern web scraping framework written in Ruby which works out of box with Headless Chromium/Firefox, PhantomJS, or simple HTTP requests and allows to scrape and interact with JavaScrip...

cover image

Learn web scraping with Ruby with this step-by-step tutorial. We will see the different ways to scrape the web in Ruby through lots of example with gems like Nokogiri, Kimurai and HTTParty.

Leaked OnlyFans photos and video of manny.codes

cover image

This guide goes over the various ways to install Ruby on Mac, and the pros and cons of each one.

cover image

I was playing around with OpenAI (GPT-3) today, building a reasonably complicated email parser for a...

cover image

Example based guide for text processing with Ruby from the command line

cover image

An in-depth look at threads vs processes in Ruby web applications, and when you should use each.

cover image

Rake provides a great way to automate repetitive or complex tasks. Here's a look at creating a simple and a more complex task.

cover image

Learn about the Enumerator#product method introduced in Ruby 3.2.

cover image

Read more on the Doximity Technology Blog about how our engineers and data scientists are building the largest online network for clinicians.

cover image

Discover the benefits of memoization for your Ruby application, common mistakes to avoid, and when not to memoize.

cover image

A Ruby multithreaded crawler is a type of web crawler that is built using the Ruby programming...

cover image

Have you ever built your own web server with Ruby? We already have many servers, like: Puma Thin Unicorn But I think this is a great learning exercise

cover image

A modular Ruby web server interface.

cover image

Find out about the different JIT compilers for Ruby — YJIT, MJIT, and TenderJIT — and their benefits.

cover image

Discover when and why you should use ractors, and build a ractor in Ruby.

Note: before starting this post, I recommend reading my other posts about procs and closures for background. Overview What’s the difference between a proc and a lambda? Lambdas actually are procs. Lambdas are just a special kind of proc and they behave a little bit differently from regular procs. In this post we’ll discuss the […]

cover image

Let's explore how Ruby manages memory, garbage collection, and how to uncover a leak, in the first of this two-part series on memory leaks in Ruby.

cover image

Master programming by recreating your favorite technologies from scratch. - codecrafters-io/build-your-own-x

Leaked OnlyFans photos and video of manny.codes

cover image

How the principle of connascence will help us to move away from fixtures.

cover image

Rubocop recently managed to be listed as one of the most loved and most frustrating ruby gems which is quite an achievement. In this episode, I'll show you how to keep it only in the loved section.

cover image

Ruby adds Fiber SchedulerInterface to support non-blocking fiber. Splitting long operations into fiber hooks and Scheduler will manage it for us.

cover image

Let's build a simple state machine in Ruby and use the state machines gem.

cover image

Racc is an LALR(1) parser generator. It is written in Ruby itself, and generates ruby programs. - ruby/racc

A comparison of how different attr_accessor from custom getters in setters in terms of implementation and performance

cover image

A quick overview of using collections in Jekyll to create powerful taxonomies around your content.

cover image

By Farrel Burns Brought to you by CloudCannon, the Git-based CMS for Jekyll. What you’ll...

cover image

Find out how feature flags function in principle and get started with feature flags using the Flipper gem.

Blog and website of Greg Molnar, Ruby Developer, Rails Developer, IT Security Consultant, Penetration Tester, Ethical hacker. Opinions expressed are mine.

cover image

Learn how you can implement polymorphism in your Rails application for cleaner code.

cover image

I'm not an expert in cryptography — I'm just a developer, and most developers are in this same boat...

cover image

In this markdown tutorial using rails app learn a step-by-step process to add Markdown support to the Rails app using Redcarpet and Coderay gems.

cover image

86K subscribers in the ruby community. Celebrate the weird and wonderful Ruby programming language with us!

cover image

Ruby on Rails is one of the most popular application stacks for developers looking to create sites and web apps. Using rbenv will provide you with a solid en…

cover image

Let's explore the basics of Rails generators and templates, then examine how to customize your Rails app with templates.

cover image

In this episode, we look at tips and tricks from read only attributes, inserting and upserting (update or insert) records, toggling booleans, and single table inheritance.

cover image

Jekyll Liquid Cheatsheet · GitHub

cover image

This post is part of a series about how ruby-syntax-tree/syntax_tree works under the hood.

cover image

This article will discuss the best HTTP clients in Ruby. Faraday, HTTParty, Rest-client...it can be hard to choose the best one.

cover image

💎 A collection of awesome Ruby libraries, tools, frameworks and software - markets/awesome-ruby

cover image

My working notes of "The Well-Grounded Rubyist" (Black & Leo), implemented in Jupyter Lab (Ruby kernel 2.7.0) - bjpcjp/well-grounded-rubyist-book-notes

cover image

My working notes of "The Well-Grounded Rubyist" (Black & Leo), implemented in Jupyter Lab (Ruby kernel 2.7.0) - bjpcjp/well-grounded-rubyist-book-notes

cover image

A fun little experiment where I try to call the same method in Ruby in as many ways as possible

cover image

Explore and compare open source Ruby libraries

cover image

A modular Ruby web server interface.

cover image

Community contributed recipes and techniques.

What this feature is for The credentials feature is a way of storing secrets that you don’t want to keep in plaintext, like AWS credentials for example. (In fact, the one and only thing I keep in my main Rails project’s credentials are my Active Storage AWS credentials.) Why the credentials feature is difficult to […]

cover image

The Rails helper excerpt can extract a chunk of text that matches a certain phrase, no matter where in the string it is.

cover image

Why Jekyll Categories or Tags? Imagine you have a blog where you discuss very different things all together. Many bloggers post their personal experiences along with some professional posts. Curating information is very important to make users browse through your website with ease. What if New York Times had no categories like Politics, Business, Tech etc..? How hard would it be to track what happened to last night’s football game? There should be a Sports category to make readers’ life easy.

cover image

My working notes of "The Well-Grounded Rubyist" (Black & Leo), implemented in Jupyter Lab (Ruby kernel 2.7.0) - bjpcjp/well-grounded-rubyist-book-notes

cover image

Metaprogramming is an integral part of Ruby, more so than in any other language. This article explains the hows and whys.

cover image

There are times when the only thing I want to create is a simple API. In the Ruby ecosystem the standard for creating something simple is Sinatra. But...

cover image

Why ‘Jekyll Collections’?

The map method’s shorthand syntax One of the most common uses of map in Ruby is to take an object and call some method on the object, like this. [1, 2, 3].map { |number| number.to_s } To save us from redundancy, Ruby has a shorthand version which is functionally equivalent to the above. [1, 2, […]

cover image

Transform your plain text into static websites and blogs

cover image

Making a static HTML website have dynamic search

Puma - A Fast, Concurrent Web Server for Ruby & Rack.

Github page does not allow customized plugins, and jekyll-tagging is not one of the supported GEMs of Github pages. It needs some effort to add tag support your Jekyll blog hosted by Github page. This blog shows you how to do this step by step.

cover image

Example based guide for text processing with Ruby from the command line

cover image

Good morning everyone, I've installed Ruby 3.0.2 via rbenv in order to test-drive a Rails 6.0 app. It seems like rbenv's Rails shiv is not working properly. $ rbenv install 3.0.2 Downloading ruby-3...

cover image

Rbenv, RubyGems, and Bundler work together to give us a lot of control over our code's environment. If you know how they work, you'll be better prepared to troubleshoot any problems you encounter. In this article, Ol...

cover image

We will see how to send a simple email with the help of three different programming languages:...

cover image

In August, I set out to improve the machine learning ecosystem for Ruby and wasn’t sure where it would go. Over the next 5 months, I ended up...

Writing and reading yaml files can be very simple. Here are a few examples.

cover image

While building applications in Rails it’s very common to have to add a new model after you’ve already set up a DB and added some seed data…

cover image

Ruby on Rails is a web framework that contains many libraries you’d need to create and deploy a successful web application. We often take for granted the ability to run rails new to create a fully functional web application with tons of built-in features.

cover image

Kointoto situs judi togel online, slot gacor, dan live casino idnlive terbaik di Indonesia. 1 ID untuk semua permainan dengan deposit minimal Rp 10rb.

cover image

News & blog about Learn Enough (including the Ruby on Rails Tutorial)

cover image

Ruby 3.0 is a lot faster than Ruby 2.0, with both incremental tuning and interesting new disruptive changes. 'Three times faster' is hard to define...

cover image

Leverage metaprogramming for better Ruby with this DSL tutorial.

cover image

An article by Noah Gibbs about Ruby 3's performance for a Rails application. Ruby 3.0.0-preview1 was a tiny bit slower than 2.7. The release 3.0 is...

cover image

This is the next installment in the "Practical Computer Science" series, where you will learn how to apply classic computer science concepts to solve real problems using Ruby. Today we are going to talk about Graph

cover image

A deep dive into adding Ruby Type Signatures to existing projects and using Steep to perform type checking.

One of the things I hear most from developers who are new to Ruby and Rails, or just to testing is, How do you get started? What should I test? The value of testing your code and the confidence it brings is already apparent, but how to make it happen seems to be missing. In this post I address how I approach testing a fairly simple, but non trivial feature from start to finish.

cover image

Become A Ruby Programming Expert With RubyGuides This library of 150+ in-depth guides explains complex programming topics in plain English so you can become a happy & well-paid Ruby developer! Discover all the secrets that separate beginner developers

cover image

This article covers one of my favorite techniques for improving performance: memoization. It's a source of easy little performance wins that eventually add up and only occasionally reduce your application to a heap of...

I am Benoit Hamelin. I work with the excellent hackers at Arcadia G.P., where I develop software,...

cover image

In this second article about Rake, we dive a little deeper and cover slightly advanced topics like file tasks, rules, multitasks and more that will improve your Rake chops...

cover image

rake command is explained in this post. rails provide a number of inbuilt tasks, but you can create your own task also as explained here. => Understanding the basics : When you create any new ra…

cover image

Welcome back! If you missed the first part of our journey so far, then you might want to go back and catch-up first. So far, we've applied a Test-Driven Development process to building our...

cover image

The other day I was searching for an introduction to Ruby exceptions written for beginners - people who know basic Ruby syntax but aren't really sure what an exception is or why it's useful. I couldn't find one, so I ...

cover image

Ruby is one of the underrated programming languages among modern developers. It has become popular wi...

cover image

Becoming the owner of a legacy Rails app can mean inheriting a project bogged down with tech debt, bugs, and sketchy documentation. Here's how to survive.

cover image

Find static code analysis tools and linters for Java, JavaScript, PHP, Python, Ruby, C/C++, C#, Go, Swift, and more. All tools and linters are peer-reviewed by fellow developers to select the best tools available. Avoid bugs in production, outages on weekends, and angry customers.

cover image

Ruby library for the Stripe API. .

cover image

Official gem repository: Ruby kernel for Jupyter/IPython Notebook - SciRuby/iruby

cover image

My Environment Software Version(s) Operating System Ubuntu 19.10 jekyll Latest github-pages No Current Behavior I was trying to run sudo apt install jekyll jekyll new my-awesome-site cd my-awesome-...

cover image

In our series on new Ruby 3.0 features we start with the anonymous Struct, ${}.

cover image

Flexible authentication solution for Rails with Warden. - heartcombo/devise

cover image

Introducing RBS, Ruby’s new type signature language

cover image

Every line of code you don’t write is a line of code you don’t have to maintain

137 categories including 1319 gems and resources.

cover image

We take a look at 5 different ways to leverage Ruby's splat (*) operator.

cover image

RVM vs. rbenv: why RVM is bad and rbenv is good. Easy setup instructions for MacOS X.

cover image

Ruby is one of the most popular languages today. It has an elegant syntax and it is the language behind the powerful Ruby on Rails framework. In this tutorial we will show you three different ways to install Ruby on Ubuntu 18.04 system.

cover image

I got a customer ticket the other day that said they weren’t worried about response time because “New Relic is showing our average response time to be sub 20...

cover image

In Ruby, methods can take a single block as an argument, which can be specified explicitly in the met...

cover image

Ruby support for lazy loading enumerators

cover image

As a Ruby developer you probably use tools like Sidekiq that rely on concurrency. But would you know how to *build* your own sidekiq, or add concurrency to an existing app? This article will open Ruby's concurrency to...

cover image

Find out how easy it is to build a chatbot for WhatsApp using the Twilio API for WhatsApp and the Ruby web framework Sinatra.

cover image

22K subscribers in the rubyonrails community. Everything RoR! Ruby on Rails, often simply Rails, is an open source web application framework which…

Sam's Spot - Sam saffron's web log

cover image

This is the 3rd entry in the "Practical Computer Science in Ruby" series! Today we are going to talk about linked list. So what's a linked list? Like the name says, a linked list is a way

In programming the term “literal” refers to notations for representing certain values in code. Almost all languages offer them for atomic types such as strings or various number formats, some also for compound types like arrays, records or hashes. Additionally lambda expressions are a literal representation of functions. Ruby has a rich set of literals for various use cases and in this post we’re going to explore some of the lesser known ones.

cover image

If I call a command using Kernel#system in Ruby, how do I get its output? system("ls")

cover image

Photo by Morre Christophe on Unsplash My team at Runtime Revolution uses an in-house app for team ma...

cover image

Your go-to Ruby Toolbox. A collection of awesome Ruby gems, tools, frameworks and software. 1319 projects organized into 137 categories.

cover image

In the first part of this series, I walked through developing a simple todo API using Ruby on Rails and PostgreSQL using Docker Compose. In this post, I will cover creating a CI/CD pipeline using Codeship Pro.

cover image

Builder pattern in Ruby is useful when the algorithm how to build an object is something independent of the parts that makes the object.

cover image

Cucumber for Ruby. It's amazing!

cover image

Cucumber - Ruby Testing - Ruby language has the following advantages ?

cover image

In the second part of our series we will take a look at more advanced concurrency models such as Actors, Communicating Sequential Processes, Software Transactional Memory and of course Guilds – a new concurrency model which may be implemented in Ruby 3.

cover image

Ruby metaprogramming, one of the most interesting aspects of Ruby, enables the programming language to achieve an extreme level of expressiveness. It is because of this very feature that many gems, such as RSpec and ActiveRecord, can work the way they do. In this article, Toptal engineer Nikola Todorovic demystifies...

cover image

In this post I’m going to tell you about batching as a technique to help avoid N+1 queries, existing battle-tested tools like Haskell Haxl…

cover image

Here’s a look at some lesser-known Ruby methods that solve specific types of problems very well.

cover image

Class methods are the source for continuous discussions and disagreements among my colleagues. While some consider them precise and…

cover image

A collection of awesome Ruby libraries, tools, frameworks and software. The essential Ruby to build modern Apps and Web Apps.