Ever since I started using Payoneer to withdraw UpWork funds, it supported a free fund-loading option. Sadly Payoneer will be retiring this option and only maintain the $2.50 immediate funds loading. While not much, $2.50 makes a difference for many.
The "NSCFConstantString initialize error" bugged me right after a macOS Monterey installation on a Ruby on Rails v7 project. The solution is quick and simple. Why it happens though is a curious matter I would leave for later.
Enums are a useful and commonly used data type in Ruby applications. Rails 7 introduces support to create native PG enum data types. This post discusses the creation and use of native enums with PostgreSQL, advantes & disadvantages.
Are you joining a new team with an official e-mail address while using your personal devices? Then you should configure the name and e-mail address you use to sign git commits as described here.
If you are testing RoR mailer views using RSpec and FFaker gem, you could randomly experience match failures. This post explains how you can use HTML escape to bring escape the name before matching.
OpenVPN is the leading VPN technology behind most VPN providers in the world. It enables you to securely browse the web without revealing your location. This post discusses how you can easily install OpenVPN server on Ubuntu for personal use.
Fix the error when bundle install of a Ruby on Rails project w.r.t. nio4r. The issue generally is the result of implicit function declaration causing errors compiling native C extensions.
gRPC, a remote-procedure-call framework by Google, is by far one of the preferred RPC frameworks in the wild. Here is a comparison between gRPC and JSON HTTP APIs for interconnecting services.
Five packages shipped with AliExpress Saver Shipping ended up in a "Delivery unsuccessful" state in the tracker. I tried to reach out with no success. I got two of the three packages today.
A Ruby developer will often require to work with different versions of a Ruby gem. This article discusses the installation and use of a ruby gem with a specific version in the terminal.
A little advice from my encounter with the LinkedIn Skill Assessment Test for Ruby on Rails. It is an easy test and any Rails developer could easily land on a new shiny badge.
Not every model/database table requires an auto-increment integer field as the primary key. Ruby on Rails allows us to specify the primary key in the migration field and configuration in the model.
Ruby on Rails doesn't add model field details to the model and related files such as specs and factories. The annotate library automatically adds field definitions to relevant files.
The popular Ruby on Rails library ActsAsTaggableOn wrongfully selects the parent class in STI resulting empty #tagged_with method output. The solution would be to use a custom query.
Every developer has his preference. I love recursion, many others love iterations. You could use either most of the time. But if your task's complexity is high, it might be better to use iteration.
In-page links known as anchors will cause content to hide under a floating element like a navigation bar. This article discusses CSS you could use to prevent content from hiding under floating elements on jump links.
UPS is a prominent logistics company providing fast shipping across the globe. I recently ordered some items through Banggood which in turn shipped through UPS. The experience was great but there is room for improvement.
Bring life to your Rails application by using Toastr alerts with Turbo and Stimulus JS. This blog post details the steps with code samples to show Toastr flash messages.
Tourism is a primary source of foreign exchange to Sri Lanka. Unfortunately, the industry is negatively affected by fuel, electricity and LPG shortages. These risk denting our reputation as a tourism destination.
I had a few clogged air stones from my aquarium. As I was too tired to shop, I decided to use H2O2 to clean clogged air stones in my fish tank. They are good as new.
Due to bottlenecks resulting from the COVID19 pandemic, the Government of Sri Lanka extended the validity of drivers licenses. However, some have been presented with fines renewing in this period.
Understanding the technical specifications of a lead-acid battery is vital for your safety and battery longevity in any DIY project. This article discusses typical attributes of a technical specification sheet of a lead-acid battery.
Data is the basis of accurate predictions and good designs. I compiled a table of power readings for my iMac 2019 to make a battery backup that will last 6 hours. I hope this will be helpful for you too.
Metropolitan Engineering is the dealer of the Italian generator brand Pramac in Sri Lanka. This is my experience purchasing a Pramac WX6200 (5.3KW - 5.8KW max) petrol generator from them.
The software world evolves rapidly, and it is essential to track outdated libraries to update them. This blog post discusses identifying and listing libraries that could be updated using Bundler (Ruby) and Yarn (Node), as many web projects include Node dependencies.
Petrol-powered backup generators are my main source of backup power during prolonged power cuts. Today I replaced my 22-year-old Briggs & Stratton generator with a Pramac WX6200 from Metropolitan Engineering.