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/docker-basics-for-rails
GoRails
Docker Basics for Rails (Example)
Docker allows you to build a self-contained image with your application code and all it's dependencies. We'll setup our Dockerfile for the Rails app and Docker Compose yml for any other services we might need like Postgres or Redis.
Ruby / Rails Inside
https://betterprogramming.pub/how-to-use-enums-in-rails-6-87600e292476
Medium
How To Use Enums in Rails 6
An enum is a data type made out of a set of named values. Let’s leverage them
Ruby / Rails Inside
https://docs.knapsackpro.com/2021/understanding-and-using-rubys-powerful-grep-method
Knapsackpro
Understanding and using Ruby's powerful #grep method
Ruby is known for its many handy methods. I’d like to take a look at one that is a little bit less known, but quite powerful nonetheless: the #grep method.
Ruby / Rails Inside
https://www.johnnunemaker.com/webhooks/
John Nunemaker
Rails: How to Send and Receive Webhooks
This covers the joys and pains of a fully functional webhook system. Along the way I practice shower driven development to solve my problems.
Ruby / Rails Inside
https://blog.saeloun.com/2021/03/23/rails-adds-support-for-eager-loading-all-rich-text-associations-at-once.html
Saeloun Blog
Rails 7 adds `#with_all_rich_text` to eager load all rich text associations at once
Rails 7 adds `#with_all_rich_text` to ActionText for eager loading all rich text associations.
Ruby / Rails Inside
https://bigbinary.com/blog/rails-7-adds-enumerable-in-order-of
BigBinary
Rails 7 adds Enumerable#in_order_of
Rails 7 series | Rails 7.0 adds Enumerable#in_order_of
Ruby / Rails Inside
https://twitter.com/nateberkopec/status/1374722404228853762
Twitter
Nate Berkopec
Good morning everyone! If you have a Rails app 6.1+, you probably noticed all of your bundle installs are failing! A gem, mimemagic, had a licensing issue and needed to yank all of its old (illegal) versions and relicense. Your options:
Ruby / Rails Inside
https://blog.saeloun.com/2021/03/24/rails-adds-active-storage-streaming.html
Saeloun Blog
Rails 7 adds direct ActiveStorage::Streaming support
Rails 7 adds a method to stream directly from your own controllers.
Ruby / Rails Inside
https://www.ruby3.dev/object-orientation/2021/03/23/better-oop-through-lazily-instantiated-memoized-dependencies/
Fullstack Ruby
Better OOP Through Lazily-Instantiated Memoized Dependencies
There are various schools of thought around how best to define dependencies in your object graph. Let’s learn about the one I prefer to use the majority of the time. It takes advantage of three techniques Ruby provides for us: variable-like method calls,…
Ruby / Rails Inside
https://nts.strzibny.name/rails-stimulus-live-preview/
Notes to self
Live previews with Rails and Stimulus 2
Who wouldn’t want a live preview for writing their great content? If you happen to be running Rails with Hotwire, it’s surprisingly easy with a small Stimulus controller.
Ruby / Rails Inside
https://pawelurbanek.com/gdpr-compliance-aws
Rails, PostgreSQL Performance Audit and Tuning Consultant for Hire
How to Improve GDPR Compliance for Web Apps using AWS
Your app must comply with GDPR (General Data Protection Regulation) even if you are not located in the EU. It is enough that you have European users. In this blog post, I'll describe eight ways to improve the GDPR compliance for your web app. Implementing…
Ruby / Rails Inside
https://technology.doximity.com/articles/writing-a-buildpack-for-the-rails-asset-pipeline
Doximity
Writing a Buildpack for the Rails Asset Pipeline
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://crystal-lang.org/2021/03/22/crystal-1.0-what-to-expect.html
The Crystal Programming Language
Crystal 1.0 - What to expect
The release of the first major release of Crystal arrives after many years of hard work. With thousands of contributions from people worldwide, it was finally possible to find consensus for what truly mattered for 1.0 and what could wait for future releases.…
Ruby / Rails Inside
http://tomrothe.de/posts/dead-simple-rails-monitoring.html
Ruby / Rails Inside
Ruby / Rails Inside
https://weblog.rubyonrails.org/2021/3/26/marcel-upgrade-releases/
Ruby on Rails
Rails 5.2.5, 6.0.3.6 and 6.1.3.1 have been released
Hey everyone! Rails versions 5.2.5, 6.0.3.6 and 6.1.3.1 have been released. These versions upgradeActive Storage’s Marcel dependency to version 1.0.0.
Ruby / Rails Inside
https://gitlab.com/honeyryderchuck/http-clients-benchmark
GitLab
HoneyryderChuck / http-clients-benchmark
Ruby / Rails Inside
https://blog.unathichonco.com/verifying-jwts-with-jwks-in-ruby
Building & Sharing with Unathi
Verifying JWTs with JWKS in Ruby
How to use JWKS to verify your JWTs, and edgecases
Ruby / Rails Inside
https://www.honeybadger.io/blog/ruby-template-performance-erb-haml-slim/
Honeybadger Developer Blog
Which is fastest? ERB vs. HAML vs. Slim
A fast app means happy users. The speed that your pages render depends on which templating system you use. In this article, Diogo Souza puts the three most popular Ruby templating engines to the test to see which is f...
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…