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://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
Ruby / Rails Inside
https://www.honeybadger.io/blog/ruby-logger-lograge/
Honeybadger Developer Blog
Logging in Ruby with Logger and Lograge
Logging is tricky. You want logs to include enough detail to be useful, but not so much that you're drowning in noise - or violating regulations like GDPR. In this article, Diogo Souza introduces us to Ruby's logging ...
Ruby / Rails Inside
https://boringrails.com/tips/activerecord-validation-context
Boring Rails: Skip the bullshit and ship fast
Run different ActiveRecord validations based on context
Sometimes want to skip certain validations on your database models. Maybe you have a multi-step wizard or want admins to have more freedom in changing data.
Ruby / Rails Inside
https://blog.saeloun.com/2021/03/08/rails-6-1-adds-excluding-to-active-record-relation.html
Saeloun Blog
Rails 7 adds #excluding to ActiveRecord::Relation
Rails 7 adds #excluding to ActiveRecord::Relation to exclude a record or collection of records.
Ruby / Rails Inside
https://arstechnica.com/gadgets/2021/03/rookie-coding-mistake-prior-to-gab-hack-came-from-sites-cto/
Ars Technica
Rookie coding mistake prior to Gab hack came from site’s CTO
Site executive introduces, then removes, insecure code, then hides the evidence.
Ruby / Rails Inside
https://blog.arkency.com/recording-real-requests-with-webmock/
Arkency Blog
Recording real requests with WebMock
Hi, we're Arkency and it's our blog with meaty content.
Ruby / Rails Inside
https://bigbinary.com/blog/rails-6-1-adds-nulls-first-and-nulls-last-to-arel
BigBinary
Rails 6.1 adds nulls_first and nulls_last methods to Arel for PostgreSQL
Rails 6.1 series | Rails 6.1 adds nulls_first and nulls_last methods to Arel for PostgreSQL