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://boringrails.com/tips/rails-date-before-after
Boring Rails: Skip the bullshit and ship fast
Never mix up greater/less than when comparing dates again
When it comes to compare dates, for some reason my brain really struggles. I mix up < and >= all the time and end up flipping them.
Ruby / Rails Inside
https://pragmaticpineapple.com/render-async-adds-support-for-rails-turbo/
Pragmaticpineapple
render_async Adds Support for Rails Turbo
Read about changes in the new version and how Turbo is supported.
Ruby / Rails Inside
https://blog.planetargon.com/entries/top-10-technical-podcasts-as-chosen-by-the-rails-community
Planet Argon Blog
Top 10 Technical Podcasts (as Chosen by the Rails Community)
Are you on the search for new podcasts to help you sharpen your coding skills? Well, I have good news!
In the spring of 2020, we surveyed over 2,000 Ruby on...
Ruby / Rails Inside
https://blog.appsignal.com/2021/02/24/troubleshooting-activerecord-performance.html
AppSignal Blog
Troubleshooting ActiveRecord Performance | AppSignal Blog
You usually don't need to worry about AcriveRecord and its inner workings. This post comes in handy when performance issues arise and you have to start worrying about it.
Ruby / Rails Inside
https://blog.thegnar.co/querying-papertrail-object-changes-json
blog.thegnar.co
The Gnar Blog - Querying PaperTrail Object Changes in JSON
Ramblings from The Gnar Company team on all things tech, culture, and process.
Ruby / Rails Inside
https://technology.doximity.com/articles/the-hidden-gems-of-ruby-s-irb
Doximity
The Hidden Gems of Ruby's IRB
Read more on the Doximity Technology Blog about how our engineers and data scientists are building the largest online network for clinicians.
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...