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://blog.rebased.pl/2021/02/22/redis-rate-limiter.html
Rebased Blog
Redis rate limiter
At Rebased we have an internal time tracking project called Harmonogram. Its backend is built in Ruby on Rails. It started as a playground for new hires to get used to company culture and conventions, but over time grew into a fully-functional tool. When…
Ruby / Rails Inside
https://boringrails.com/tips/rails-pluck-single-values
Boring Rails: Skip the bullshit and ship fast
Pluck single values out of ActiveRecord models or Enumerables
Rails has a great, expressive term called pluck that allows you to grab a subset of data from a record. You can use this on ActiveRecord models to return one (or a few) columns.
Ruby / Rails Inside
https://blog.saeloun.com/2021/02/25/rails-allows-benchmark-method-to-be-called-from-anywhere
Saeloun Blog
Rails allows benchmark method to be called from anywhere
Rails allows benchmark method to be called from anywhere with Rails.benchmark(
Ruby / Rails Inside
https://blog.saeloun.com/2021/02/26/rails-introduces-new-syntax-for-enum
Saeloun Blog
Rails 7 introduces new syntax for enum
Rails 7 introduces new syntax for enum and few other changes
Ruby / Rails Inside
https://www.ombulabs.com/blog/rails/hotwire/introducing-hotwire.html
Introducing Hotwire
Introducing Hotwire - The Lean Software Boutique
One of the most visible and controversial new developments with the release of Rails 6.0 is Hotwire. Like anything in web development, the growing ...
Ruby / Rails Inside
https://blog.saeloun.com/2021/03/01/rails-6.1-adds-config-for-lazy-image-loading.html
Saeloun Blog
Rails 6.1 adds config option to control image_tag loading attribute
Rails 6.1 adds a config option to set a default value for the loading attribute of all image_tags. This is in line with the latest official HTML standard.
Ruby / Rails Inside
https://gorails.com/episodes/rails-subdomain-cookies
GoRails
Sharing Cookies with Subdomains in Rails (Example) | GoRails
Want to login your user across all subdomains in your Rails app? Here's how.
Ruby / Rails Inside
https://www.rubytapas.com/2021/02/27/accessorizing-your-devcontainer-shell/
Ruby / Rails Inside
https://www.mikeperham.com/2021/03/01/faktory-news-pause-rss-and-bring-your-own-redis/
Mikeperham
Faktory News: Pause, RSS and Bring your own Redis | Mike Perham
Ruby, OSS and the Internet
Ruby / Rails Inside
https://boringrails.com/tips/capybara-multiple-user-sessions
Boring Rails: Skip the bullshit and ship fast
Testing multiple sessions in the same test with Capybara
Sometimes a feature in your application will involve a back-and-forth between multiple users. When it comes time to write an automated system test, you can easily simulate switching between users using Capybara’s using_session helper.
Ruby / Rails Inside
https://longliveruby.com/articles/bundle-install-deep-dive
Ruby / Rails Inside
https://everydayrails.com/2021/02/28/rails-db-setup-persist-data.html
Everydayrails
Persist existing data when setting up a Rails development environment |
Everyday Rails
Rails support for automating development environment setup includes a behavior that may surprise you! Here's how I addressed it in my applications.
Ruby / Rails Inside
https://bigbinary.com/blog/rails-6-1-adds-active-record-finder-methods
BigBinary
BigBinary Blogs on Rails 6.1
We write about Ruby on Rails, React.js, Next.js, React Native, remote work, open source, engineering and design.
Ruby / Rails Inside
https://docs.knapsackpro.com/2021/best-heroku-add-ons-for-ruby-on-rails-project
Knapsackpro
Best Heroku add-ons for Ruby on Rails project
After working for over 8 years with Heroku and Ruby on Rails projects I have my own favorite set of Heroku add-ons that work great with Rails apps. You are a...
Ruby / Rails Inside
https://www.twilio.com/blog/5-ways-make-http-requests-ruby
Twilio Blog
5 ways to make HTTP requests in Ruby
There are numerous ways to perform HTTP requests in Ruby. Let's dive in 5 of these solutions and compare each other.
Ruby / Rails Inside
https://www.youtube.com/watch?v=vw7PlBvLq9k
YouTube
Rails Best Practices I
Today I share some of my favorite practices applicable to Ruby on Rails (and to web development on small teams generally)
Ruby / Rails Inside
https://upgrow.shopify.io/
Ruby / Rails Inside
https://www.johnnunemaker.com/resilience-in-ruby-shell-commands/
John Nunemaker
Resilience in Ruby: Shell Commands
Over the past year I've made myself real friendly with GitHub::Result and I'm loving it. This post is a big intro on how to make your Ruby code more resilient with GitHub::Result leading the way.
Ruby / Rails Inside
https://everydayrails.com/2021/03/07/docker-devcontainer-series-database-sqlite.html
Everydayrails
Using containers as a Rails development environment, part 3: SQLite databases |
Everyday Rails
You can't get very far with a Rails application without a database. Let's explore our options for adding one in a container.
Ruby / Rails Inside
https://andycroll.com/ruby/turn-off-the-bits-of-rails-you-dont-use/
Andy Croll
Turn off the bits of Rails you don't use
Reduce complexity, reduce overhead