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.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…
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.