Ruby / Rails Inside
@rubyinside
732
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
732 subscribers
Ruby / Rails Inside
https://ryanbigg.com/2023/01/the-method-method
Ryan Bigg
The method method
Ruby / Rails Inside
https://rubyonrails.org/2023/1/27/this-week-in-rails-new-assumessl-middleware-raise-on-missing-translations-everywhere-and-more-3ca81d9f
Ruby on Rails
New AssumeSSL middleware, raise on missing translations everywhere, and more
Hi, it’s Wojtek. Let’s explore this week’s changes in the Rails codebase.Rails 7.0.4.2 and 6.1.7.2 have been releasedReleased 7.0.4.2 and 6.1.7.2 versions addressing a compatibility issue with the 7.0.4.1 and 6.1.7.1 security releases from last week.Allow…
Ruby / Rails Inside
https://medium.com/expsoftwareengineering/deploying-ruby-on-rails-with-anycable-using-docker-ecs-80f0da2051ba
Medium
Deploying Ruby on Rails with AnyCable using Docker & ECS
This is a guide for setting up AnyCable locally using Docker Compose, and deploying it on Amazon Web Services (AWS) Elastic Container…
Ruby / Rails Inside
https://shopify.engineering/media-at-scale-callbacks-vs-pipelines
Shopify
Media at Scale: Callbacks vs pipelines
Shopify recently launched the ability to add videos and 3d models to products as a native feature within the Admin section. Learn how we used pipelines to manage the long-term maintenance and understandability of the code.
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://www.akshaykhot.com/difference-between-load-autoload-require-in-ruby/
Write Software, Well
The Difference Between load, autoload, require, and require_relative in Ruby
📖
Loading external files can get tricky in Ruby, but it doesn't have to be. This post explains the usage of Ruby's load, require, and require_relative methods, and when to use each.
Ruby / Rails Inside
https://world.hey.com/this.week.in.rails/week-05-spring-is-here-5c6d9601
Hey
Week 05: Spring is here?
Hi, it’s zzak, happy 節分! I’m very excited for spring, this winter has been tough! Let’s get into this week’s changes in the Rails codebase. Use infinitive form for all task descriptions verbs All the common rails commands and some extended commands use the…
Ruby / Rails Inside
https://blog.saeloun.com/2023/02/02/rails-allow-db-prepare-to-load-schema-if-database-exists.html
Saeloun Blog
Rails 7.1 db:prepare to load schema if the database already exists but is empty
Rails 7 introduces a new feature to allow db:prepare to load schema if the database already exists but is empty. Also, it will dump the schema after migrations are run.
Ruby / Rails Inside
https://medium.com/@diegodursel/coding-with-chat-gpt-real-intelligence-b5e6e6f129b4
Medium
Coding with Chat GPT: real intelligence?
Integrating shopify via webhooks in Ruby on Rails
Ruby / Rails Inside
https://calebhearth.com/decree
Hearthside
The Decree Design Pattern
The Decree pattern helps developers write single-purpose service objects that have a predictable API contract, are composable, are easily tested, and isolate the core logic of your app.
Ruby / Rails Inside
https://www.youtube.com/playlist?list=PLbHJudTY1K0dERpqJUEFOFSsMGvR6st9U
Ruby / Rails Inside
https://ivoanjo.me/blog/2023/02/11/ruby-unexpected-io-vs-cpu-unfairness/
ivoanjo.me
Ruby’s unexpected I/O vs CPU unfairness - ivo's awfully random tech blog
When mixing input/output (such as reading files or network/database requests) and CPU work in different threads, Ruby gives a lot more execution time to the ...
Ruby / Rails Inside
https://world.hey.com/this.week.in.rails/parameter-filtering-and-an-improved-actionview-helpers-taghelper-token_list-3cd06e29
Hey
Parameter filtering and an improved ActionView::Helpers::TagHelper#...
Përshëndetje! Emmanuel here with the usual stuff. filtered_path in ActionController::Instrumentation event payloads over fullpath For security reasons, some data need to be filtered before it reaches bad actors. Rails now filters parameters in paths that…
Ruby / Rails Inside
https://prograils.com/modular-design-coupling
Prograils.com
Modular design concepts: Coupling | Prograils
In the new episode of our modular design series, we answer the question "what is coupling?" as well as compare various types of it. Read & learn!
Ruby / Rails Inside
https://blog.carbonfive.com/rspec-best-practices/
Ruby / Rails Inside
https://world.hey.com/this.week.in.rails/this-week-in-rails-preloading-associations-with-composite-keys-and-more-a3ff250a
Hey
This Week in Rails: preloading associations with composite keys and...
Hi, this is Greg, bringing you this week’s changes in the Rails codebase. Support preloading associations with composite keys This pull request adds support for Associations::Preloader to be able to preload associations associated by a composite foreign key…
Ruby / Rails Inside
https://mensfeld.pl/2023/02/karafka-web-ui-your-ruby-and-rails-out-of-the-box-kafka-ui/
Closer to Code | Blog about coding in various languages, security, and my other IT adventures.
Karafka Web UI – Your Ruby and Rails out-of-the-box Kafka UI | Closer to Code
I'm thrilled to announce the new and shiny addition to the Karafka ecosystem: Karafka Web. For those who wonder what Karafka is, Karafka is a Ruby and Rails multi-threaded efficient Kafka processing framework. Karafka has always been a convenient framework…
Ruby / Rails Inside
https://shopify.engineering/the-case-against-monkey-patching
Shopify
The Case Against Monkey Patching, From a Rails Core Team Member - Shopify
Monkey patching is considered one of the more powerful features of the Ruby programming language. However, by the end of this post I’m hoping to convince you that they should be used sparingly, if at all, because they are brittle, dangerous, and often unnecessary.…
Ruby / Rails Inside
https://www.youtube.com/watch?v=-B9AbFsQOKo
YouTube
"Hanami 2: New Framework, New You" - Tim Riley (RubyConf AU 2023)
(Tim Riley) "Years in the making, Hanami 2.0 is out! This release brings new levels of polish and power to a framework you can use for Ruby apps of all shapes and sizes.
Come along to discover what goes into building a new Hanami app, the principles that…
Ruby / Rails Inside
https://blog.jez.io/ruby-private/
blog.jez.io
Ruby's private keyword is weird – Jake Zimmerman
Ruby's `private` keyword means something different compared to basically all other object-oriented languages. Most other languages don't even have a feature matching what Ruby calls `private`, but incredibly, Scala does, which it calls `protected[this]` (meaning
Ruby / Rails Inside
https://dmitrytsepelev.dev/finding-rails-memory-bloats-early
dmitrytsepelev.dev
How to find a memory bloat in your Rails app before it happens
How to detect a possible memory bloat in Rails before it starts being a problem