Ruby / Rails Inside
@rubyinside
735
subscribers
15
photos
2.51K
links
Daily Ruby / Ruby on Rails articles. Curated channel.
Faker::Hacker.say_something_smart
Suggest link/news
https://t.me/NoMethodError
Download Telegram
Join
Ruby / Rails Inside
735 subscribers
Ruby / Rails Inside
https://kukicola.io/posts/useful-active-support-features-you-may-not-have-heard-of/
kukicola.io
Useful Active Support features you may not have heard of - kukicola.io
Active Support is a really powerful library that is a part of Rails framework. Today we will focus on utilities it includes, which can be useful in your next Rails project or any other ruby app.
Ruby / Rails Inside
https://www.johnnunemaker.com/rails-feature-flags/
John Nunemaker
Rails Feature Flags: Now So Flippin' Easy You Won't Believe It
Well friends today is a great day. I'm writing to let you know that Flipper 0.21 is hot off the press. And. It. Is. Awesome. Seriously, read on.
Ruby / Rails Inside
https://blog.saeloun.com/2021/05/11/rails-7-activesupport-cache-memcachestore-now-accepts-an-explicit-nil-for-addresses.html
Saeloun Blog
Rails 7 ActiveSupport::Cache::MemCacheStore now accepts an explicit nil for addresses argument
Those migrating from :dalli_store to :mem_cache_store can now pass an explicit nil for its addresses argument.
Ruby / Rails Inside
https://longliveruby.com/articles/rails-ab-test
Ruby / Rails Inside
https://solnic.codes/2021/05/11/the-5-rules-of-simple-rspec-tests/
solnic.codes
The 5 Rules of Simple RSpec Tests
The 5 “rules” I try to follow in order to write simple RSpec tests.
Let’s GO.
1. Max 2 levels of describe/context nesting Everything above 2 is a code-smell and causes alarm bells in my head to ring. The more levels of nesting you have, the harder it is to…
Ruby / Rails Inside
https://nextlinklabs.com/insights/using-sinatra-to-mock-3rd-party-apis-inside-a-rails-test-suite
Nextlinklabs
Use Sinatra to Mock Shopify API Calls in Rails Test Suites | NextLink Labs
Designing a test suite involves constant decisions about how closely to replicate your end product. See how you can simplify the process.
Ruby / Rails Inside
https://blog.appsignal.com/2021/05/12/three-ways-to-avoid-duplicate-sidekiq-jobs.html
Appsignal
Three Ways To Avoid Duplicate Sidekiq Jobs | AppSignal Blog
Sidekiq is used to handle background processing. Whatever your background jobs may be, you'll eventually run into duplicate jobs. Let's see how to de-duplicate them.
Ruby / Rails Inside
https://ideas.bywetransfer.com/story/spelunking-ruby-gems
Ideas by WeTransfer
Spelunking Ruby Gems
Stories of culture, product, and technology — as told by the people behind WeTransfer.
Ruby / Rails Inside
https://schneems.com/2021/05/12/the-room-where-it-happens-how-rails-gets-made/
Schneems
The room where it happens: How Rails gets made
Today I’m going to share my perspective on how Ruby on Rails is developed and governed and how I feel the Basecamp “incident” impacts the future of Rails. I’...
Ruby / Rails Inside
https://www.botreetechnologies.com/blog/paytm-wallet-money-transfer-with-ruby-on-rails/
BoTree Technologies
Paytm Wallet Money Transfer with Ruby on Rails - BoTree Technologies
Want to learn how to do PayTm integration with your Ruby on Rails application? Here is a step-by-step guide to integrate PayTm as your payment vendor for Ruby on Rails.
Ruby / Rails Inside
https://www.dmitry-ishkov.com/2021/05/phone-authentication-in-ruby.html
Dmitry-Ishkov
Phone Authentication in Ruby
Using SMS to authenticate a user has the following benefits: Everybody has a phone. Users don't have to remember passwords. ...
Ruby / Rails Inside
https://antoinefink.com/building-a-blockchain-and-cryptocurrency-in-ruby
Antoine’s blog
A guide to building a blockchain & cryptocurrency from scratch in Ruby
Build a blockchain and cryptocurrency is, perhaps surprisingly, a reasonable task. This guide goes through the crucial steps to build your own crypto using Ruby.
Ruby / Rails Inside
https://pawelurbanek.com/rails-sidekiq-monitoring
Rails, PostgreSQL Performance Audit and Tuning Consultant for Hire
How to Monitor Sidekiq Process Uptime in Rails Apps
Things usually work until they don't. Sidekiq background job process can explode, quietly turn off, or get stuck for a variety of reasons. Random network errors, misconfigured email clients, shortage of RAM, or disk space on Redis to name a few. Adding a…
Ruby / Rails Inside
https://blog.engineyard.com/ruby-unbundled-track-how-customers-use-new-features
EngineYard
The Ruby Unbundled Series: Track How Customers Use New Features
Use the Ruby gems ahoy and blazer to track user metrics, usage patterns, and get the most out of your new application features
Ruby / Rails Inside
https://dragonastronauts.com/2019/09/12/creating-multiple-models-with-form-objects-in-rails/
Dragon Astronauts
Creating multiple models with form objects in Rails.
Update: User MelissaLiberty from Reddit pointed out how they would improve the form object and some of it faults. The form object has been updated to reflect their excellent points.
Ruby / Rails Inside
https://www.honeybadger.io/blog/rails-security-injections/
Honeybadger Developer Blog
Rails Security Threats: Injections
One of the best things about Rails is that it protects your app from a wide variety of injection attacks with minimal development effort. But we're never 100% safe. After all, Rails can't protect us from our own bad ...
Ruby / Rails Inside
https://thoughtbot.com/blog/full-text-search-with-postgres-and-action-text
thoughtbot
Full-text search with PostgreSQL and Action Text
Search through user-provided HTML content with PostgreSQL and Active Record.
Ruby / Rails Inside
https://www.aha.io/engineering/articles/automatically-avoiding-graphql-n-1s
www.aha.io
Automatically avoiding GraphQL N+1s
Some people, when faced with an API problem, think “I’ll use GraphQL!” And now they have N+1 problems. N+1 problems occur when you want to…
Ruby / Rails Inside
https://bootrails.com/blog/rails-webpacker-full-setup
Ruby / Rails Inside
https://blog.saeloun.com/2021/05/18/ruby-adds-array-intersect.html
Saeloun Blog
Ruby 3.1 adds Array#intersect? method
Ruby Array#intersect? method will return true or false based on common elements present in the two arrays.