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://janko.io/anything-i-want-with-sequel-and-postgres/
Janko’s Blog
Anything I Want With Sequel And Postgres
At work I was tasked to migrate our time-series analytics data from CSV file dumps that we’ve been feeding into Power BI to a dedicated database. Our Rails app’s primary database is currently MariaDB, but we wanted to have our analytics data in a separate…
Ruby / Rails Inside
https://boringrails.com/tips/turboframe-lazy-load-skeleton
Boring Rails: Skip the bullshit and ship fast
Lazy-loading content with Turbo Frames and skeleton loader
Hotwire is a new suite of frontend tools from Basecamp for building “reactive Rails” apps while writing a minimal amount of JavaScript.
Ruby / Rails Inside
https://blog.codeminer42.com/exploring-rspec-improving-your-testing-skills/
Ruby / Rails Inside
https://blog.saeloun.com/2021/03/30/rails-6-1-remove-index-if-exists.html
Saeloun Blog
Rails 6.1 adds `if_exists` option in `remove_index` operation
Rails 6.1 adds the `if_exists` option in `remove_index` which when set to true won't raise an error if the index doesn't exist.
Ruby / Rails Inside
https://emmanuelhayford.com/dislodging-mimemagic-and-understanding-mit-gnu-gpl/
Emmanuelhayford
Dislodging mimemagic And Understanding MIT & GNU GPL.
Learn the difference between the MIT and GNU GPL licenses to know which open-source software you can include in your projects.
Ruby / Rails Inside
https://blog.saeloun.com/2021/03/31/rails-adds-ability-to-query-async.html
Saeloun Blog
Rails 7 adds the ability to schedule the query on the background thread pool
Rails 7 adds the ability to push database queries to the background thread pool, effectively reducing load times by utilizing I/O waits.
Ruby / Rails Inside
https://evilmartians.com/chronicles/ruby-on-whales-docker-for-ruby-rails-development
evilmartians.com
Ruby on Whales: Dockerizing Ruby and Rails development—Martian Chronicles, Evil Martians’ team blog
An exhaustive and documented Docker configuration for developing Ruby and Rails applications
Ruby / Rails Inside
https://shopify.engineering/building-web-app-ruby-rails
Shopify
How to Build a Web App with and without Rails Libraries - Shopify
Ruby on Rails is a web framework that contains many libraries you’d need to create and deploy a successful web application. We often take for granted the ability to run rails new to create a fully functional web application with tons of built-in features.
Ruby / Rails Inside
https://engineering.freeagent.com/2021/03/25/timecop-vs-rails-timehelpers/
Freeagent
Timecop vs Rails TimeHelpers
TL;DR - You probably can’t replace Timecop with Rails' built in TimeHelpers, as TimeHelpers only recreates Timecop’s freeze method, and can’t handle nested travelling.Timecop is the go-to g
Ruby / Rails Inside
https://blog.testdouble.com/posts/2021-03-26-using-cockroachdb-with-rails/
Test Double Blog
Using CockroachDB with Rails
CockroachDB is a scalable, highly available database, and you can use it in your Rails apps today. In this guide, we'll walk you through the steps to using CockroachDB with Rails.
Ruby / Rails Inside
https://www.fullstacklabs.co/blog/ruby-on-rails-developer-salaries
www.fullstacklabs.co
Ruby on Rails Developer Salaries
We analyze 5 different job and salary sites to get a sense of what Ruby on Rails developers are making in 2020.
Ruby / Rails Inside
https://www.youtube.com/watch?v=a1WNqjeRbrU
YouTube
Rails Best Practices II
Continuing on from the last video, I share even more of my best practices for Rails (including my best WORST practice)
Ruby / Rails Inside
https://hennevogel.de/blog/activesupport.html
hennevogel.de
ActiveSupport::Notifications is Rad!
A blog post about Ruby on Rails instrumentation with ActiveSupport::Notifications
Ruby / Rails Inside
https://www.ruby-lang.org/en/news/2021/04/05/ruby-3-0-1-released/
www.ruby-lang.org
Ruby 3.0.1 Released
Ruby / Rails Inside
https://www.driftingruby.com/episodes/multiple-resources-with-devise
Drifting Ruby
Episode 290 - Multiple Resources with Devise | Drifting Ruby
Sometimes we get into situations where our applications requires a different type of user account which wouldn't really fit into a role. So, in this episode we look at creating multiple resources for authentication with Devise.
Ruby / Rails Inside
https://www.honeybadger.io/blog/http-caching-ruby-rails/
Honeybadger Developer Blog
HTTP Caching in Ruby on Rails Applications
The fastest web page is one you've already loaded. Browsers love to avoid round-trips by caching assets. And HTTP provides ways for us to tell browsers what's changed and what hasn't - so they make the right decisions. In this article, Jonathan Miles introduces…
Ruby / Rails Inside
https://www.ruby-lang.org/en/news/2021/04/05/xml-round-trip-vulnerability-in-rexml-cve-2021-28965/
www.ruby-lang.org
CVE-2021-28965: XML round-trip vulnerability in REXML
Ruby / Rails Inside
https://evilmartians.com/chronicles/set-up-tailwind-css-jit-in-a-rails-project-to-compile-styles-20x-faster
Martian Chronicles
Set up Tailwind CSS JIT in a Rails project to compile styles 20x faster — Martian Chronicles
How to switch to Tailwind CSS JIT when using Ruby on Rails and Webpacker.
Ruby / Rails Inside
https://gorails.com/episodes/stripe-checkout-rails
Gorails
How to use Stripe Checkout in Rails | GoRails
Learn how to accept payments in your Rails app with Stripe Checkout using the Pay gem
Ruby / Rails Inside
https://longliveruby.com/articles/building-dsl-with-ruby