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://nauman.medium.com/my-rails-project-default-setup-a577677703d2
Medium
Rails 6 with Webpacker 6, Tailwind 2 with JIT, Postcss 8 and some default setup
It is always nice to follow a detailed guide and steps when building new rails apps. Below is a bit of guidance and step-by-step…
Ruby / Rails Inside
https://www.honeybadger.io/blog/building-app-rails-vue-vuex/
Honeybadger Developer Blog
Building A Full-Stack Application With Vue, Vuex and Rails
Vue is a popular front-end that is especially useful for Rails developers since it was designed to be incrementally adoptable. That means you can use Vue for parts of your UI without having to rebuild everything from scratch. In this article, John Emmanual…
Ruby / Rails Inside
https://www.youtube.com/watch?v=PtxZvFnL2i0
YouTube
Alpha preview: Modern JavaScript in Rails 7 without Webpack
Modern web apps without JavaScript bundling or transpiling: https://world.hey.com/dhh/modern-web-apps-without-javascript-bundling-or-transpiling-a20f2755
Rails 7 minus Webpack plus importmap PR: https://github.com/rails/rails/pull/42999
Ruby / Rails Inside
https://pawelurbanek.com/asdf-docker-development
Rails, PostgreSQL Performance Audit and Tuning Consultant for Hire
asdf and Docker for Managing Local Development Dependencies
Have you ever updated a database for one project just to discover that you accidentally broke another? Ensuring the isolation between your local dependencies can save you hours of rolling back a breaking update or resolving intertwined dependencies. In this…
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...