GitHub Actions gives you the power to automate your workflow. Connect with the tools you know and love. Have more freedom to innovate and be creative. Deploy to any cloud, build containers, automate messages, and lots more. It’s time to take control. There’s lots of amazing Actions built every day. We spoke to some of the coolest developers building the latest workflows and automations.
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.
Creating a basic API with Ruby on Rails is a quick and simple process. So let’s dive in!
I’ve been a part of the Flatiron community for almost two years now, first as a student, then as a Software Engineering coach at the Brooklyn campus, and now as a Technical Interview Coach for both Software Engineering and Cyber Security Analytics
In the first part of this article series, I focused on comparing Crystal and Go’s concurrency from Communicating Sequential Processes (CSP) perspective. This second part is to fill in the gap and cover more traditional Shared Memory Multithreading. I make the assumption that you are somewhat familiar with the concepts of multiple threads, critical region, mutual exclusion, and lock/unlock to ensure mutual exclusion.
In my previous article on Crystal Programming Language titled — “A First Look at Crystal Programming Language and its Ecosystem”, I wrote about my first experience with Crystal language and its ecosystem. Since then I tried to delve a bit more in Crystal’s syntax and semantics. Having already familiar with Go, I wanted to compare concurrency support in Crystal and Go by converting some Go programs into Crystal.
What is Rack and how can we use it?. Being on the beautiful journey that is Software Development, and working as a Rails Developer, I often get curious about the different building blocks of this beautiful framework. Whenever I get time I like to go deep on one of these subjects, read about it and try to understand them, how to use them, and leverage that knowledge into producing better apps.
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.
Selecting the best technology is an important step for web development as it decides how your website and app will perform. There are a lot of web development frameworks and technologies available in the market and hence many entrepreneurs and freelancers get confused to choose the best from a large
In this tutorial, you will build a GraphQL-powered Ruby on Rails API for taking notes. When you are finished, you will be able to create and view notes from the API using GraphQL.
Some may feel that using Ruby on Rails as an API is a bit of an overkill. If you are working on a super simple API that may be true but who doesn’t want to take advantage of how easy it is to get up and running with rails. There are many great articles out there on this same subject but I wanted to go a bit further than just creating it and connecting a database.
How to Install Ruby Ubuntu 20.04 Linux system. Installing Ruby on Ubuntu 20.04. Two ways to install ruby from apt repository and RVM on Ubuntu 20.04.
I studied philosophy and taught courses on Symbolic Logic. I can talk about deductive proofs for days, but when people pull out a f of n’s… x²… [insert Greek letter].
Full code at https://github.com/OpenSocket/socketcluster-client-ruby
a concise guide in plain English. Blocks, procs, lambdas, and methods available in Ruby are collectively called closures.
When I was first learning Ruby, I used a variety of if/else statements to “validate” user input and prevent breakage in my CLI applications. I’m sure you can understand this was not the most efficient way to go about safeguarding your code — though it was prior to learning the ultra-powerful, time and energy-saving, omniscient Active Record. In this post, I’m going to outline the importance of using validations and some of my most used Active Record Validations helpers.
Declarative, intuitive, auditable, and object-oriented. Redis is one of the most popular in-memory data structure servers, often used as a database, a cache, and a message broker. The popularity is thanks to its enormous versatility and the wide variety of use cases it enables. Working with Redis in Ruby is amazingly simple to start. After setting up a Redis instance, you add redis gem, write a short piece of code, then here we go.
Installing RSpec made simple. When you’re a junior developer and you’re starting to test for the first time, the most difficult part is deciding on a testing library and getting it up and running. Once you pick a library and get it installed, it really isn’t difficult to start testing your entire application — most testing libraries are fairly easy to get the hang of.