paint-brush
172 Stories To Learn About Rubyby@learn
166 reads

172 Stories To Learn About Ruby

by Learn RepoJune 2nd, 2023
Read on Terminal Reader
tldt arrow

Too Long; Didn't Read

Learn everything you need to know about Ruby via these 172 free HackerNoon stories.

People Mentioned

Mention Thumbnail
Mention Thumbnail
featured image - 172 Stories To Learn About Ruby
Learn Repo HackerNoon profile picture

Let's learn about Ruby via these 172 free stories. They are ordered by most time reading created on HackerNoon. Visit the /Learn Repo to find the most read stories about any technology.

Big in Japan. Also, it was pretty big in the states from 2005-2015.

1. The Programming Languages Dominating 2022

The following is a list of the top 10 programming languages in 2022:

2. How to Write Your First Model Tests Using RSpec in Rails Applications

Latest August of this year I started to learn Rails. I was following the book Ruby on Rails Tutorial from Learn Enough To Be Dangerous website which uses Minitest to test their application. Truth is: I was not understanding a single line of code about those tests. So I decided to skip them and try to write it using RSpec because the syntax is way more similar to human language than others. But you may be wondering:

3. Understanding Boolean Methods in Ruby With Examples

Most programming languages have a Data Type called “Boolean”. This is a form of data with only two possible values (usually “true” and “false”). The Ruby language however does not have a Boolean Data Type.

4. How Fintech Business Founders Can Develop Crypto Trading Apps

MobiDev prepared an ultimate crypto trading app development guide to help fintech enthusiasts avoid common pitfalls and create a successful crypto product.

5. CarrierWave Upload Multiple Images

When you are building a web application, you definitely want to add an option for image uploading as well. In this tutorial, we will show you the necessary steps to enable upload multiple images/files using CarrierWave in Rails 4+ from scratch. A similar procedure can be applied for nested forms.

6. Differences Between Includes and Joins in Ruby on Rails

Many of us know about includes, joins but sometimes we confuse about their usage. As I was experimenting with code refactoring in one of my projects, there I have tried these things. So I thought I can share these findings with you guys.

7. A Beginner's guide to Ruby on Rails MVC (Model View Controller) Pattern

In this article, we’re going to learn a little more about the MVC, the system Architecture at the core of the Rails Framework for Software Development. Hopefully, by the end of it, you’ll know why working with a system architecture can make all the difference when developing an app.

8. Ruby: How to read/write JSON File

In Ruby read and write JSON file to hash can be achieved using File Handling.

9. How to Deploy a Ruby on Rails App on Heroku

The most satisfying thing beyond building something is to make it available to the world. Heroku is great for beginners because it’s a free and “simple” push-to-deploy system.

10. "Rewrite your Software," says Creator of Ruby on Rails

David Heinemeier Hansson is the creator of Ruby on Rails, co-founder & CTO of Basecamp, best-selling author, Le Mans class-winning race car driver, family man, frequent podcast guest, and inspirational conference speaker.

11. How to Integrate ‘devise’ and ‘omniauth-facebook’ Authentication To Your Rails App

Introduction

12. How to Create a Telegram Bot Using Ruby

I was tasked with creating a telegram bot using ruby a while back. I had no idea where to start and just like any other programmer out there I turned to the internet for clues. I did not find a good article and hence experienced a lot of problems creating the bot. I have decided to write an article to explain how to create a telegram bot from scratch.

13. How To Populate Your Database with Fake Data: Ruby On Rails Tutorial

This is going to be a very straightforward article, no jokes included.

14. Ruby On Rails Command Line: Rails Scaffolding Tutorial

Scaffolding in Ruby on Rails refers to the auto-generation of a set of a model, views and a controller usually used for a single database table.

15. Building a Simple Session Based Authentication using Ruby on Rails

Building your first authentication system may look intimidating at first. But to be honest, it's really easy. After reading this article, you will know how easy it is to create a session based authentication in rails.

16. Building Your Own Programming Language From Scratch

In this tutorial, you'll learn how to build your own Programming language!

17. How to Build a Responsive Rails App with Hotwire

Building single page application with Ruby on Rails? Check out Hotwire. It utilizes server side rendering to send HTML over the wire. by Aleksandr Ulanov

18. Should I Learn Rails in 2020?

Rails (or ruby on rails) used to the most popular web development framework just a couple of years ago, but it's not so popular now. If you are struggling to make a decision, this post may end up saving a lot of your time. But it is recommended that do research of your own about the technology and what it does best, will it be a good fit for you?

19.  Why You Should Learn Several Programming Languages & Where to Learn Them

We are living in an age of rapidly changing technology. With over 500 programming languages in use globally, it is a dynamic job market for developers. There are pros and cons of all the languages and their adoption is becoming more and more application-specific.

20. Get Unused Routes of Large Rails App 🛠

After a few years of continuous development, your rails application becomes larger and it’s good practice to do some cleanup. One of the most obvious cleanups is cleaning up unused routes.

21. A Guide to Remote Working as a Beginner

are you a freelancer or a remote employee or contractor working on a remote basis? if you’re any of this then this guide is for you.

22. Live Updates in Ruby on Rails with ActionCable Feature

There are times when one as a Ruby on Rails developer wants to implement a real-time feature, like a chat application, and after digging a bit you find a framework's feature named ActionCable, sounds new and scary, right? Fear not, I'll try to explain it as simple as possible so that at the end of this article you'll feel comfortable with the subject.

23. From Reddit's "Hot" ranking algorithm to my satisfying blend of "Top Ranked" and "New"

I created a site where people can vote and submit projects they want me to build. This was fine when there was only a dozen projects, but not when the list grew

24. Building Rails Carousels Using Bootstrap

Bootstrap carousel with rails

25. RUBY versus PHP: Who Is The Winner ?

26. The Good and The Bad of Ruby Development

27. How to Integrate Selenium with Capybara

There are times when you want to know how your capybara tests are interacting with your pages, sometimes it’s not enough the log on your console to determine why they are not working as expected, that’s why you can make it display the steps on your browser in real-time. The steps to do this are really easy thanks to the Selenium Project, which is in charge of providing us the necessary infrastructure to interact with the interface of all major web browsers.

28. An Intro to Data Tables On Rails

Let me help fellow developers out by opening the gates to data tables with Ruby on Rails.

29. Using Devise In Your Ruby on Rails Application [A Step-by-Step Guide]

Authentication. You don’t always want your users to have faceless sessions that open your application without leaving any trace.

30. Test-Driven Development with RSpec in Rails

When we start developing an app we usually do it the old fashion way: we get an idea, we elaborate on it, we make a plan to develop an app then we start coding and in the end, we test if our app is working properly.

31. How to Integrate Ruby With GPT-3

In this guide learn how to integrate OpenAI (GPT-3) with Ruby to add AI tools to your application.

32. 6 Best Ruby Programming Books Ranked by Reviews

Learn to Program, Practical Object-Oriented Design, and Ruby for Beginners are the best Ruby books on the market according to review score.

33. Unobtrusive JavaScript in Ruby On Rails [Beginners Guide]

Recently I learned Ruby On Rails, an amazing framework, you can easily build complex web applications with it. In this article, I want to talk about Unobtrusive JavaScript in Ruby On Rails, a tool that can help you build a more responsive web application in a simple way. With it, you can manage all your JavaScript in the server and you don’t need to pollute your HTML files, there is no need for adding events listeners and ajax requests.

34. How to Seed Your Rails Database with Faker

I built a Customer Support System a few days ago and started to think of a way to seed my rails database with random data for testing without having to manually type in the data. This may not be the best way to do it, but it works and allows you to test your application.

35. How I Changed Python to Accept "else-less" If Expressions

In this post, I'll present how I changed Python to accept "else-less" if expressions, similar to Ruby's "inline if", also known as a conditional modifier.

36. Image Storage in Rails Apps Using Cloudinary and Active Storage

Ruby on Rails has an awesome gem to upload, store and display images: Active Storage. It's very easy to use and it comes with a local disk-based service, that should be enough to store everything you need if you just want to practice using Rails.

37. How To Connect Ruby on Rails API, PostgreSQL And Heroku

Creating a new Rails app is super easy by itself. And, creating a Rails app set up as an API is not much different.

38. The Complete Microservice Tutorial: Introduction [Part 1]

Project Link: https://github.com/Joker666/microservice-demo/

39. You Need to Know What is erb in Rails and How to Master it

One of the first things that made me uncomfortable about learning Rails was taking a look at the views. I found some weird files with some weird syntax. Their name was something like ‘name.html.erb’ and I was like what? Why does this file which seems to be an HTML file with kind of HTML syntax has a .erb extension after the .html extension?

40. How To Use Rails Console To Test Rails Models, Associations and Validations

Introduction and Definition

41. RSpec Testing: Let Vs. Before

In RSpec, there are two different ways to write DRY tests, by using before or let. Their purpose is to create variables that are common across tests. In this post, we will explore differences between before and let and explain why let is preferred by the Ruby community.

42. All For One, And One For All: A Single Ruby on Rails Validator For All Controllers

43. Golang Tutorial: How to Migrate Your Database

Golang - How to handle database migration using GORM.

44. When Time is of the Essence, These are the 19 Gems I Reach For

An application can only be as good as the features it is providing for its end-users. Every developer toes the line between indiscriminately adding gems and building new functionality themselves. When time is of the essence, these are the gems I reach for:

45. Keeping Code Clean with Rails Service Objects

You can keep your Rails app cleaner and easier to maintain using Service Objects. Service objects help to decouple business logic from your controllers

46. You Can Do More With Rails Console by Configuring ~/.irbrc 🎉

It´s better to wait for a productive programmer to become available than it is to wait for the first available programmer to become productive. — Steve McConnell

47. Sending Emails With Ruby

This tutorial is tailored is aimed at helping you implement sending emails with Ruby.

48. How to Create Your First Ruby on Rails Application in No Time

If you are a beginner, you should know that Ruby on Rails is a framework that helps you build web applications.

49. How To Extract Key or Value From Hash in Ruby on Rails

When I was recently working in one of the client projects, I had to communicate with external MariaDB server to store records from React/Rails app, that means I would get ActiveRecord hash from our app which I had to convert to pure SQL query and send it to an external server for storing.

50. Building Homebrew Taps for Private GitHub Repos

How to create private homebrew taps

51. How to Create A Friendship Relation on Rails

Engineering is about dividing problems into smaller partials. And then solving them with the best approach. As an engineer, I enjoy problem-solving.

52. How parallel Github Actions jobs can run your RSpec tests faster in Ruby on Rails application

Run efficiently parallel RSpec tests on GitHub Actions for Ruby on Rails application to save CI build time

53. Choosing Between Ruby on Rails and Laravel for App Development [A How To Guide]

When you are looking for a software development partner for your app idea you obviously want to make sure, that your product will be developed in the best technology possible.

54. How I Started Hacking

It all started with video games.

55. Google Developer Expert Phil Nash is Nominated for Ruby on Rails "Thinker of the Year"

Among the 2,000+ deserving humans nominated across 5 categories for over 200 award titles in this year's Noonies, we discovered Phil Nash from the United states.

56. Cloudinary Upload API Introduction: Hassle Free Alternative to AWS S3

So you've developed an impressive rails APP that showcases a gallery of images. Its time to unveil it on the worldwide web via Heroku. Image uploads in a local development environment are currently defaulted to local psql. In production environment (Heroku), a cloud storage service stores images.

By popular choice, AWS S3 cloud service would be suitable to host your images. They offer a free plan, but to sign up it requires a credit/debit card. In my experience setting AWS up for image-handling was challenge. If one does not exercise extreme caution; API key and secret will get exposed on Github.

57. GitHub Actions CI config for MySQL, Redis, Elasticsearch in Ruby on Rails project with RSpec tests

How to run parallel tests with Github Actions jobs for Rails project with MySQL, Redis, Elasticsearch.

58. Why Ruby Shall Still Be Relevant in 2021

Ruby and the Rails framework are both under active development and regular updates are released for both all year round

59. A Template for Starting New Projects on Ruby on Rails

In this story, I want to show you how to bring your Ruby on Rails development to the next level.

60. How to Use RSpec From Basics to Testing User Input

On my journey on Microverse, one of the things that troubled me the most to understand was RSpec, a Ruby gem for Test-Driven Development. The concept is quite simple. You create tests as you code along, so in the future, if an update breaks something, it will be easy to notice because one or more tests will fail.

61. Extracting Information From Hash in Ruby on Rails

When I was recently working in one of the client project, I had to communicate with external mariadb server to store records from react/rails app, that means I would get activerecord hash from our app which I had to convert to pure sql query and send it to external server for storing.

If you have worked with sql queries previously then you must know that keys and values must be separated for insert operations like

62. How to Use Hotwire in Rails 7 to Build a Real Time Notification System

This is a quick update of an article on how to build a notifications system with Rails and Redis, now using Hotwire

63. Build a To-Do App with React In Rails 6 (Tutorial)

Hello everyone. Today, we will be building a todo app to showcase how to use React with Rails 6. This tutorial will be as in-depth as possible and will focus on performing CRUD operations. Our Todo app will support seeing a list of your todo, creating a today, making a todo as done, and deleting a todo. We will be leveraging react to build a reactive app and use material UI for the design.

64. Bare Metal Ruby

This manual explains how to install the most recent stable version of Ruby on Linux, without using rbenv or alternative version managers. The goal was to find a fast and reliable approach for provisioning expendable virtual machines for Rails development environment.

65. An Introduction to Ruby Conditionals

Our daily life contains a set of conditionals whose job is to define us as individuals, these conditionals are introduced to us from the very first day:

66. Open-sourcing Ferrum: a fearless Ruby Chrome driver

If you want to run integration tests on your website, you have three options: Poltergeist, Selenium and now, a new secret weapon — Ferrum.

67. Top 5 Concurrency Interview Questions for Software Engineers

(Some background: I’ve interviewed hundreds of candidates for software engineering jobs at Facebook and Microsoft. I’ve also failed several coding interviews myself when I wasn’t prepared.)

68. Authentication and Authorization with bcrypt In Rails

Introduction

69. WTF are Linked Lists?

For this short tutorial, my examples would be written with the Ruby programming language. I will try to demonstrate adding nodes in the linked list on the way I understood it, I am still learning and practicing data structures and linked lists were something on what I spent some time to understand it.

70. How to Build Awesome Integration Tests with Capybara

Tips that would help you build integration tests using RSpec and Capybara.

71. Why Do Startups Love Ruby on Rails?

Why do so many startups choose Ruby on Rails over other technologies?

72. Introduction to Ruby Conditionals

Our daily life contains a set of conditionals whose job is to define us as individuals, these conditionals are introduced to us from the very first day:

73. Use GitLab's CI/CD Tool to Run Parallel Tests

How to run parallel jobs for RSpec tests on GitLab CI Pipeline and speed up Ruby & JavaScript testing

74. Discover the Pros and Cons of the top Web Development Languages

Choosing the correct language for web development can be difficult.

75. Active Record Validations In Rails: How They Work

ver open up a Rails console to debug a problem and come away wondering how the data got so funky? Despite our best efforts the database will accept plenty of garbage data if you let it. There are tons of methods to bypass the Rails callbacks and validations while still updating your database. If you are like me you have probably used these methods in the Rails console to fix some of that funky data you found after some other code created it in the first place.

76. A Recipe For A Checkerboard Styled Page

Last week, as part of an assignment for a Ruby on Rails application, I was given the challenge to create a checkerboard styled page. The design is from Nelson Sakwa and the requirements were as follow:

77. Top 10 Programming Languages for Beginners

Learning to code is important for a number of reasons. First and foremost, coding is a valuable skill that can help you pursue a career in a variety of fields.

78. A Dive into Active Record Connection Pools and Horizontal Sharding in a Gem

Rails is a great framework that enables us to avoid grungy but essential topics like database connection pooling with all the inherent complexities of multi-threading and error handling.

79. How To Show User Friends Posts Using Ruby on Rails

In this post, I’ll explain a trick that will give your web application the ability to show friends’ posts.

80. Ruby on Rails Facebook Implementation: SpyBook

Social Media Website Live Demo: SpyBook

81. An Introduction to Backtracking in Ruby

in this blog post, we are going to take a look at what is backtracking and how to implement it using ruby

[82. Integrating a Voting System into Your

Blog App](https://hackernoon.com/integrating-a-voting-system-into-your-blog-app-rz1d3u2z) This article is about adding a voting system to your blog app, where users can vote or not vote an article. We all want to allow users to show their interest and react to an article through voting and also get the article with the highest vote. So let’s get started.

83. How to Setup a Free GitHub Page with Jekyll

This is a quick tutorial on how to create a GitHub page and learn some tricks on how to perfect it. I will be going through the steps of how I created my GitHub page.

84. All The Secrets Of Encrypting API Keys In Ruby Revealed

85. How I Built a Simple Game via Ruby on Rails and Javascript

A few months ago, I had the idea to build a simple game that functions something like this.

86. Generate Fancy Link Previews With Rails 7

Having fancy link previews encourages people to click on the fancy links and visit your site. Here is how you can imitate it easily for your own site.

87. How To Run Parallel RSpec Specs on GitLab CI In Ruby & Jest/Cypress Parallel Tests

How to run parallel jobs for RSpec tests on GitLab CI Pipeline and speed up Ruby & JavaScript testing

88. A Refactoring Guide for Ruby on Rails

“Always code as if the guy who ends up maintaining your code will be a violent psychopath who knows where you live” — John F. Woods

89. Rails Migrations Are Not Scary [Beginners Guide]

I am a full-stack developer student currently doing the Microverse program, and I've been developing things for months until now. This article is for helping newcomers to Rails to understand Rails migrations by showing some examples and explaining them the best I can.

90. Circle CI: How To Run Ruby and JavaScript Tests in Parallel

Configure the CI server to run parallel tests in the shortest CI build time. Ruby and JavaScript examples of parallel testing.

91. How to Validate User Login Data in Ruby on Rails

When building applications we try to make sure the data our users are submitting is reliable and useful.

92. Testing on Ruby on Rails [A How-To Guide]

The testing stage is a very important step in the software development life-cycle of any application. It helps software developers detect and fix bugs much earlier in the development process.

93. Mistakes I've made treating file paths as strings

Some things you do as a developer can work for you for years, then turn around and bite you when you were least expecting. These are the things that you wish another developer had told you early in your career so you never had to make the mistakes. This post is about one of those things and if you’re reading this, consider it me telling you.

94. Building a Recommendation Engine using Ruby on Rails

Just to give you some context, we were working on the new Diabecarp App a few days ago. I can't talk much about the new features, but I am going to extrapolate 2 interesting solutions during the process, give you why, explain a bit and, as always, put together a demo with Rails ♥️.

95. Speed ​​Up Your Development Time With Queries in Ruby on Rails

Whether you have made simple queries with SQL language to get records in some relational database or you have experience as a complex database administrator, when starting it might seem extremely difficult to learn the syntax to select only what you require, or which table to join with which to make the necessary consultation.

96. Pending Cops in Rubocop to Make Upgrade Easier [Project Update]

Whenever a new version of Rubocop comes out, there are always some new cops. If our code is not compatible with new cops, then the rubocop build fails. With every new release, we have to spend time to make our code compatible with the new cops. Well not any more!

97. Active storage with Azure [A How-To Guide]

Before I start rambling about my adventures with Rails, I want to do something I'd appreciate more people doing, and hey, be the change you want in the world, so the actual step by step is gonna be under the title THE ACTUAL TUTORIAL (in this same article, don't go D:), you can skip there if you're in a rush, but I think there's some value in the process of finding the answer, other than the answer itself, and I don't know, this is my way to communicate things. We all good? Ok, here we go.

98. Creating Image Uploader in Rails 6 Using Cloudinary and Carrierwave

while developing a rails Application you might want to allow your users to upload an image Cloudinary provides an easy and free way of achieving that.... sounds good? let's get started

99. Should Deploying Production Infrastructure be Hard?

Below I'll explain why I built terra_boi to deploy Clientelify, why I think it was downloaded 1,000 times in the first 10 days (despite not promoting it anywhere), and why deploying an application to production shouldn't suck.

100. Uploading Files Into Ruby On Rails ActiveStorage

Introduction

101. How To Make Amazing Background Jobs In Ruby

You are developing a Ruby application where the user can sign up, and after submitting the form, the user has to receive an email. Will you send it immediately? If so, the user will have to wait while the application connects to the email server and sends the actual email. That’s bad for the user experience.

102. "Rust Isn’t Afraid to be Imperfect as Long as we Ship something Useful" - Steve Klabnik

Steve Klabnik is a member of the Rust core team, an active open-source contributor, and author of The Rust Programming Language, Rails 4 in Action, and Designing Hypermedia APIs books. In 2012 and 2016, we invited Steve to speak at the RailsClub (now RubyRussia) conference. Since then, Steve has been working on Rust a lot, did a lot of interesting things and we realized that we should definitely interview him once again!

103. How I Made a Ten Line Ruby Script to Get My 1st Jab

Use a Ruby script to get the jab in India

104. How to Build a Notification System with Sidekiq, Redis and Devise in Rails 6

In this post, we are going to talk a lot about asynchronous functions, something very fashionable nowadays, but not so much just a few years ago.

105. Enabling Cuprite: A Headless Chrome Ruby Driver for Capybara

Ferrum + Capybara = Cuprite

106. How To Use Gritter Notifications in Rails 6

Hello everyone, how has it been working with the challenges of COVID-19? Today, I will be sharing how I got gritter to work with Rails 6. According to the github Readme;

107. Redis Can Help You Deal With Tough Calculations for Geospatial Data Easily

Learn how to use Redis and its geospatial indexes and commands for complex geo calculations.

108. How to Connect With External MySQL Servers (Part 1: Select Operations)

This tutorial shows how to perform basic select queries to interact with MySQL Server using mysql2 gem.

109. Building Your Own Programming Language From Scratch: Part VIII - Nested Classes

In this part of creating your own programming language, we will implement nested classes

110. How to Create a Stock Market Price Watcher Using Ruby

For my first ever wrote article, I've decided to write about web scraping and how I built a Stock Market Watcher using Ruby and Nokogiri Gem.

111. Understanding Rails Polymorphic Active Record Associations

Brief Introduction

112. How To Create Auth by Connecting Devise into Your ROR Project

As a student of Microverse, I’ve reached the point where Rails’ framework was introduced to me. It appeared to me with the best omens on its hands. Ruby on Rails is a starting point for many start-ups because all of them got blinded by its beauty and simplicity. I have to admit that I felt intimidated for a while. Surely I can't say we are the best friends now but things started to make sense. Ruby on Rails is designed under the MVC principles - Model View Controllers.

113. 6 Tips for Taking Ownership of a Legacy Rails Project

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

114. Testing Signed and Encrypted Cookies in Rails Application

Recently I’ve been refactoring the tests for a gem I maintain and I needed to test that it sets the right cookies at the right time. But the cookies in use in the gem are signed cookies and that caused a slight hiccup for me. I’d never tested the value in a signed cookie before and it wasn’t immediately obvious what to do.

115. Bootstrap Vs. Bulma in Ruby on Rails Application

Bootstrap 4

116. Fastest Way to Create and Share Code in Any Language

Share code using these lightning fast sandboxes available in almost all popular languages

117. How to Setup Action Mailbox with Postfix [Part 2]

This is the second part of a 2 series tutorial to setup action mailbox with postfix. In this part, we will configure postfix in production server to forward incoming emails to our rails app so action mailbox can process it.

118. Configuring Parallel Tests with Semaphore CI 2.0, RSpec, Cypress and Jest

How to configure parallel jobs on Semaphore CI for RSpec, Cypress and Jest tests to get the optimal CI build time.

119. Functional Programming In Ruby: How To Create Pure Functions

In functional programming, pure functions are at the core of this paradigm. When we speak of pure functions we mean that these functions satisfy two main conditions; the first is that they will not cause any side effects and the second is that depending on their arguments they will return the same result. When you create pure functions you should try to make them take care of one thing and only one, so your functions will be very easy to test and scale. Consider the following function:

120. How To Use Named Scopes In Rails

Named Scopes are a subset of a collection. I will illustrate this with an example. If you have Users and you wish to find all users who have their account confirmed. This means you will have some sort of column in your database that represents this. Let's assume that the column is user_confirmed.

121. GitHub's 18 Most Popular Ruby on Rails Repositories ( November 2019 )

122. Building Your Own Programming Language From Scratch: Part VII - Classes

In this part of creating your own programming language we will implement classes and at the end will write the real Stack implementation

123. Ruby Services Vs. Objects: The Battle for Decomposition and Reuse

Frustrated with unorganized business logic in your Ruby-on-Rails app? Forget what you know about object-oriented design and start using services.

124. Github Actions auto split of slow RSpec test file in parallel jobs for Ruby on Rails project

How to run slow RSpec test files on Github Actions with parallel jobs by doing an auto split of the spec file by test examples

125. Understanding LinkedList Data Structure in Ruby

If you are familiar with data structures you may have heard about a LinkedList.

126. How to Call a Method in Ruby: 12 Different Ways

Ruby is one of the more flexible and versatile language. In this short experiment I come up with different ways to call the same method in Ruby.

127. How To Avoid N + 1 problem in Rails

Almost any app that we build has a lot of interactive options with a lot of data, to this we can also have conditions to which data should we show to what type of user, making us request data from different tables based on a unique identifier, if the queries are not handled in a proper manner this can slow down the loading, and that is because of the "N + 1" problem.

128. Effective Ways To Get More Out Of Vessel Framework

Vessel is a fast, open source, high-level, web crawling and scraping framework for Ruby, built on top of Ferrum — a minimal-dependency pure-Ruby driver for running headless Google Chrome instances.

129. Making Friends with RuboCop: Ruby Static Code Analyzer

At Memory.ai, we started using RuboCop heavily. This is a story of how we integrated RuboCop into our existing app.

130. When is Ruby on Rails the Right Choice?

Often side projects or even your main project need to be done quickly and delivered to people and learn from what they've got to say and well-informed decisions instead of endlessly building what you think is the perfect solution.

131. Is Ruby Installed On A Mac? How To Check On macOS Catalina and Big Sur

Ruby comes installed on macOS Catalina and Big Sur. Learn how to check for the system Ruby on your Mac.

132. How to Setup Action Mailbox with Postfix [Part 1]

This is the first part of a 2 series tutorial to setup action mailbox with postfix. In this part, we will implement action mailbox with postfix and test in development.

133. How Benchmarking Your Code Will Improve Your Ruby Skills

Learning to code is a path full of struggles, and learning Ruby isn't the exception. But you'll agree with me, that practice is the best way to learn and develop your skills.

134. You Will Thank Us Later: The Hidden Waffle Secrets You Need To Know

Do you work on Elixir projects that need to handle file uploads from users?

135. How to Connect With External MySQL Servers (Part 2: Insert & Update Operations)

This is the second part of the series where we perform insert and update operations to interact with the MySQL server in Rails using MySQL2 gem.

136. Introducing Figaro Module: Rails Configuration Gem

INTRODUCTION

137. Solving the Edit Distance Problem Using The Dynamic Programming Approach

The first question that arises when solving a problem using dynamic programming(DP) is how to figure out that DP is a way to solve it?

138. Do Not Add Database Index If It Already Exists in Rails

Rails 6 added an option if_not_exists to the create_table method which will not create the table if it already exists.  This option is handy when we have added a table directly in production but now want to add it through a migration so that it is available in other environments as well.

139. Ruby vs Python: Which is Better for Your Application Development?

Ruby and Python are some of the most commonly used programming languages for web application development. According to the Stack Overflow’s annual survey conducted among 90,000 developers worldwide, Ruby and Python were in the Top 15 most in-demand programming languages in 2019. It’s quite something considering that there are about 700 programming languages in the world!

140. RSpec, Capybara, CircleCI And Chrome Headless Webdriver Configuration

How to configure Capybara with Chrome headless webdriver using CircleCI and Ruby on Rails project. Selenium webdriver.

141. Why Python is The 1st Language

Python, Ruby, PHP, Perl - all these languages share similar age and features, yet one of them is way more popular than the others. In this article I explore why

142. How a n00b Programer Climbed The Binary Tree in Ruby

When I faced a search problem in Ruby the first thing that came to my head was a binary tree (yes, I’m a weirdo). After some search about it, I decided to create an open-source tree of my own so anyone can just download and use it in the future.

143. How To Type HTML & CSS Effectively

I wouldn’t like to carry out the same long and boring known task after somebody told me that there is a better and shorter way of doing the same.

144. Ruby on Rails Hidden Secrets: How To Get The Most Out Of Active Record Associations

Hello folks! In this article, we are going to unravel the mystery behind the Rails Active Record class. To be honest, I struggled a lot with Rails models as a beginner. I spent a lot of time reading the docs, read a couple of medium articles, watched some youtube videos but all in vain. I have chosen to draft a nice article that constitutes of baby steps that is suitable for aspiring Rails Engineers.

145. Changing Database Column in Rails 5

While working on a Rails application, we all have had to change the database column in some way. You can change the column name and the column type, as well as changing the column with the type conversion.

146. My Journey Building a Scraper with Ruby

Last week I finished my Ruby curriculum at Microverse. So I was ready to build my Capstone Project. Which is a solo project at the end of each of the Microverse technical curriculum sections.

147. Closure in Ruby and Javascript

What is closure

148. The FAQs of RuboCup

RuboCop is a Ruby static code analyzer and code formatter which helps to track errors easily and fix minor code issues during the development process saving your time. It has many advantages and you can learn more about RuboCop on https://docs.rubocop.org/en/stable/.

149. Interview with Yukihiro Matsumoto: Ruby is Designed for Humans, not Machines

Introduction

150. Get To Know Prime: The Ruby Class For Sustaining Prime Numbers

A prime number is a number that can only be divided by itself and one (1). Ruby makes it convenient to access prime numbers within any range with the Prime class. This class represents a set of all prime numbers. Ruby also offers several methods for accessing the values herein. To use the prime class, ‘require’ it in your document as follows:

151. A Guide to Deploying Ruby Bot Live on Heroku

The steps below could also work for other Ruby bots (and not Telegram bot only) as well.

152. What You Need to Know About Ruby on Rails to Start Developing Your First Application

Ruby on Rails is a framework based on Ruby programming language, it is mainly used for web development. what do you need to know about it?

153. How I Upgraded Rails to Version 5.1.5 And Lived To Tell The Tale

Our Rails’ version was 4.2 and we needed to upgrade to a later version mostly because Heroku stack requires it.

154. 3 Things I Learned in 1 Year Working with Functional Programming

Just like the great majority of programming-related courses, I was introduced to programming with the object-oriented paradigm (OOP). Even though many languages are multi-paradigm, like Python, C++, JavaScript and Ruby, we still have OOP as the norm.

155. Authenticating Your API Using "Knock Gem" in Rails

Due to the inability to generate a well-defined way to authenticate rails API, I have sourced out this information in order to help me and you have a way of authenticating our rails API token. This tutorial would be based on the latest version (6.0) of Ruby on Rails.

156. Arrays in Ruby: Benefits and Costs to Use Them

Data structures are eagerly introduced to new programmers, since they will be using them pretty much through their whole career. Knowing them, how they work, what are they good for, which one to use, are things that can change the performance of your solutions quite vastly.

157. How To Add Action Mailbox To A Rails 6 Application

Sending mail from a Rails application has been covered by hundreds or thousands of articles, however, there is not a ton of articles about receiving, parsing and using the new ActionMailbox.

158. Meeting the Query Interface in Ruby on Rails

Ruby on Rails has many in built methods, it's in its nature; at some point it can create some sort of stigma due to its, well known, slowness performance, but several of those methods already can help you to write a clean and faster code.

159. Debugging Has_Many, Through Relationships in Ruby on Rails

Working with model associations can be difficult.

160. 7 Ruby Security Pitfalls And How To Avoid Them

Ruby is a very versatile language. It combines the simplicity of an elegant syntax with powerful features such as support (and encouragement) for monkey patching.

161. The First-Person Sequel and Roda Insights from the Lead Dev: an Exclusive Interview with Jeremy Evan

Jeremy Evans is the lead developer of the Sequel database library, the Roda web toolkit, the Rodauth authentication framework, and many other Ruby libraries. He

162. How to Create a Stock Market Price Watcher Using Ruby

For my first ever wrote article, I've decided to write about web scraping and how I built a Stock Market Watcher using Ruby and Nokogiri Gem.

163. JohnnyTheCoder Cares About the Environment; Getting People Hired

John Selawsky (US) is a coding tutor and 4x Hacker Noon Awards Nominee who’s been on a journey. Read on to enjoy Johnny's quick takes on real-life goals, rewards, learning, and more.

164. Ruby on Rails is Not Dead! Here's How to Upgrade Ruby Legacy Applications

Have you wondered how to modernize your Ruby on Rails? Read the owner’s guide for upgrading legacy software and learn why Ruby is still a good choice in 2021.

165. Implementing CRUD Using Ruby On Rails CLI

Learning to be a Full-Stack web developer in Microverse – a remote software development school domiciled in California had so much taught me a lot like patience, resilience, tenacity and the curiosity to get things done the right way and at the right time. Ruby on rails web application is an application that is somewhat complicated for someone who is getting started in learning how this powerful web application works. But when you get to understand how it works and how to navigate round in building your application with it, you will be glad you did.

166. Learning RegEx Basics in Ruby

Find patterns in strings is a common problem for developers. One of the main scenarios where you could need this is on form validations, has the email the right structure? has the user first name any invalid character?. That's where regular expressions appear.

167. How to Combine two Programming Languages: A Ruby and Golang Tutorial

During past projects, I experienced difficulties when developing with a Ruby encryption pack.

168. Profiling: the obvious step after Benchmarking your Ruby code.

Weeks ago I wrote a post about Benchmarking your Ruby code. I talked about how doing it would improve your coding skills and make you a better programmer.

169. Why you should check the performance of your code?

Just like most of you, I usually don't care the performance of my codes. Until one day, I saw the comparison between my code and my teammates', I changed my mind since.

170. Take a Ride on the Ruby Rails Express — Understanding The MVC Architecture

A quick story explaining the Ruby on Rails MVC architecture. You find yourself at the Ruby on Rails train station exploring the MVC architecture.

171. Setting Up Ruby on Rails On Github Using CircleCI [A How-To Guide]

This is the ultimate guide for your next Ruby on Rails project setup on Github with CircleCI for continuous integration in 2020.

172. 14 Ruby FAQs and Answers

Ruby is one of the popular programming languages which was developed by Yukihiro Matsumoto in the mid-1990s. Ruby is a general-purpose language and is easy to learn. So, today we will be talking about the top 14 most asked questions about Ruby.

Thank you for checking out the 172 most read stories about Ruby on HackerNoon.

Visit the /Learn Repo to find the most read stories about any technology.