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/08/17/active-storage-preview-error.html
Saeloun Blog
ActiveStorage now raises a PreviewError when previews fail to generate
Before this update, a failed preview generation would result in a 0-byte file being created – leading to disastrous outcomes in the views.
Ruby / Rails Inside
https://evilmartians.com/chronicles/one-row-many-threads-how-to-avoid-database-duplicates-in-rails-applications
evilmartians.com
One row, many threads: How to avoid database duplicates in Rails applications—Martian Chronicles, Evil Martians’ team blog
A primer on avoiding duplicates in database tables that back your multi-threaded Rails applications with runnable examples
Ruby / Rails Inside
https://world.hey.com/dhh/modern-web-apps-without-javascript-bundling-or-transpiling-a20f2755
Hey
Modern web apps without JavaScript bundling or transpiling
I didn't much care for vanilla JavaScript prior to ES6. Through all of the 2000s, I chased different approaches to avoid writing too much of it. First there was RJS (Ruby-to-JavaScript). Then there was CoffeeScript. Both transpiling approaches that turned…
Ruby / Rails Inside
https://www.youtube.com/watch?v=MJSZ3WcgHeE
YouTube
Debugging Rails
Sometimes (read: always) you will need to debug your Ruby on Rails application. In this video I cover some of the gems and methods you can use to do that!
00:00 Introduction
01:35 Logging & Customer Loggers
07:58 Debug on webpage
11:40 Marginalia Gem
16:40…
Ruby / Rails Inside
https://kyrofa.com/posts/demystifying-rails-autoloading/
Kyrofa
Demystifying Rails autoloading
Also known as "why do I need to require stuff sometimes, and not other times?"
Ruby / Rails Inside
https://rubysec.com/advisories/CVE-2021-22942/
Rubysec
CVE-2021-22942 (actionpack): Possible Open Redirect in Host Authorization Middleware - RubySec
CVE-2021-22942 (actionpack): Possible Open Redirect in Host Authorization Middleware
...
Ruby / Rails Inside
https://weblog.rubyonrails.org/2021/8/19/Rails-6-0-4-1-and-6-1-4-1-have-been-released/
Ruby on Rails
Rails 6.0.4.1 and 6.1.4.1 have been released
Hi everyone! Rails versions 6.0.4.1 and 6.1.4.1 have been released!
Ruby / Rails Inside
https://weblog.rubyonrails.org/2021/8/21/this-week-in-rails-good-bye-classic-mode-skip-puma-skip-gemfile-hello-weekday_options_for_select/
Riding Rails
Good-bye classic mode, –skip-puma, –skip-gemfile.. hello weekday_options_for_select!
Hello, zzak again with the latest changes in Rails this week!
Ruby / Rails Inside
https://www.honeybadger.io/blog/tailwind-css-rails/
Honeybadger Developer Blog
Using Tailwind CSS with Rails
Tailwind CSS is a popular CSS framework that helps developers quickly build and style web pages with a unique utility-based approach. Unlike other CSS frameworks, it comes with its own build tooling. In this article, ...
Ruby / Rails Inside
https://maximomussini.com/posts/a-rubyist-guide-to-vite-js/
Máximo Mussini
A Rubyist's Guide to Vite.js · Máximo Mussini
Vite.js brings the joy back to frontend tooling! Learn how to use it in Ruby projects.
Ruby / Rails Inside
https://blog.saeloun.com/2021/08/24/rails-7-button-to-rendering.html
Saeloun Blog
Rails 7 now consistently renders button_to
Rails 7 introduced a config that helps button_to consistently render out to the button HTML tag.
Ruby / Rails Inside
https://blog.appsignal.com/2021/08/24/responsible-monkeypatching-in-ruby.html
Appsignal
Responsible Monkeypatching in Ruby | AppSignal Blog
Monkeypatching can be a great way to improve existing code if used right. Let's find out how.
Ruby / Rails Inside
https://blog.saeloun.com/2021/08/25/rails-7-optimizes-remove_columns.html
Saeloun Blog
Rails 7 optimizes remove_columns to use a single SQL statement when supported
Rails 7 remove_columns will now trigger a single SQL statement to remove all columns if the database supports it, instead of querying multiple SQL statements for removing individual columns.
Ruby / Rails Inside
https://www.stefanwienert.de/blog/2021/08/24/upcoming-rails-7-changes-active-record/
Stefan’s Blog
Previewing Rails 7 upcoming changes
Rails 7 is taking up speed. There is no beta out yet, but a lot of features, especially in ActiveRecord are available, if one want’s to wade through the Changelogs.
Ruby / Rails Inside
https://www.youtube.com/watch?v=yohu6qx8-dU
YouTube
DDD as Low-Code
In this video, we talk about the limitations of CRUD in representing the DB in the code. As an alternative, another approach is suggested - representing business in the code.
Later we talk about the reusability of business modules and how the low-code approach…
Ruby / Rails Inside
https://www.honeybadger.io/blog/hotwire-rails/
Honeybadger Developer Blog
Using Hotwire with Rails
Hotwire is a way to build modern web applications without much JavaScript by sending HTML over the wire. In this article, Renata Marques introduces us to Hotwire and w...
Ruby / Rails Inside
https://occson.com/blog/2021/08/29/webhooks.html
Ruby / Rails Inside
https://honeyryderchuck.gitlab.io/httpx/2021/08/26/tensorflow-serving-with-ruby.html
Ruby / Rails Inside
https://andymaleh.blogspot.com/2021/08/bundler-download-140.html
Blogspot
Bundler-Download 1.4.0
code master glimmer swt ruby jruby java ood oop desktop web gui
Ruby / Rails Inside
https://blog.saeloun.com/2021/08/31/rails-redirect-to-str.html
Saeloun Blog
Rails 7 allows anything that responds to `#to_str` into redirect_to
Rails 7 adds support for redirecting using any arguments that respond_to `#to_str`.