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/04/active-record-calculations-column-based-type-casting.html
Saeloun Blog
ActiveRecord::Calculations will now use column-based type casting
Rails 7 now harmonizes results of ActiveRecord::Calculations.average by applying column-based typecasting. Now, floating-point number columns will be aggregated as Float.
Ruby / Rails Inside
https://bibwild.wordpress.com/2021/08/04/logging-uri-query-params-with-lograge/
Bibliographic Wilderness
logging URI query params with lograge
The lograge gem for taming Rails logs by default will lot the path component of the URI, but leave out the query string/query params. For instance, perhaps you have a URL to your app /search?q=libr…
Ruby / Rails Inside
https://dev.to/st0012/a-sneak-peek-of-ruby-s-new-debugger-5caa
DEV Community
A Sneak Peek of Ruby's New Debugger!
ruby / debug Debugging...
Ruby / Rails Inside
https://blog.appsignal.com/2021/07/28/introduction-to-pattern-matching-in-ruby.html
AppSignal Blog
An Introduction to Pattern Matching in Ruby | AppSignal Blog
Find out about pattern matching in Ruby, what it does, and how it can help improve code readability.
Ruby / Rails Inside
https://weblog.rubyonrails.org/2021/8/8/this-week-in-rails-active-record-goodies-and-more/
Ruby on Rails
Active Record goodies and more!
Hi there, this is Greg, bringing you the latest new about the Rails framework.
Ruby / Rails Inside
https://www.honeybadger.io/blog/stoffle-interpreter-2/
Honeybadger Developer Blog
Building a Programming Language in Ruby: The Interpreter, Part 2
This article is the next in our series about building a toy programming language in Ruby. Alex Braha Stoll shows us how to implement the interpreter for function definitions, variable declarations, and more.
Ruby / Rails Inside
https://www.youtube.com/watch?v=0-80yi8DQiI
YouTube
Simple audit log with Event Sourcing - Ecommerce/Order
When your application is event-driven or uses event sourcing, the feature of audit logs is almost for free.
In this video I'm showing, how I'm adding this feature in the Arkency Ecommerce app
https://github.com/RailsEventStore/cqrs-es-sample-with-res
Ruby / Rails Inside
https://www.mikewilson.dev/posts/using-hotwire-with-rails-for-a-spa-like-experience/
Dev thoughts by Mike Wilson
Using Hotwire with Rails for a SPA like experience
Previously, we created a SPA-like experience using Stimulus and RxJs. Let’s recreate that using Turbo Frames, and add use Stimulus to add some polish, such as loading states and keeping track of the selected item.
Ruby / Rails Inside
https://www.colby.so/posts/instant-search-with-rails-6-and-hotwire
Colby.so
Instant search with Rails and Hotwire
Using Hotwire and Rails to build a search-as-you-type user experience
Ruby / Rails Inside
https://blog.saeloun.com/2021/08/10/logger-class-attr.html
Saeloun Blog
Rails 7 moves ActiveRecord::Base.logger to a class_attribute leading to a 7x speed improvement
Rails 7 utilized Ruby's cache for cvars to improve ActiveRecord::Base.logger performance 7x. Let's deep dive into this!
Ruby / Rails Inside
https://martinfowler.com/articles/gateway-pattern.html
martinfowler.com
Gateway
An object that encapsulates access to an external system or resource
Ruby / Rails Inside
https://opalrb.com/blog/2021/08/09/opal-1-2/
Ruby / Rails Inside
https://blog.appsignal.com/2021/08/11/ruby-hidden-gems-bullet-and-how-it-integrates-with-appsignal.html
AppSignal Blog
Ruby's Hidden Gems: Bullet | AppSignal Blog
Let's dive into Bullet and find out how it can help you identify some database-related problems.
Ruby / Rails Inside
https://bhserna.com/guide-for-preloading-associations-in-rails.html
Bhserna
A guide for preloading associations in rails
Maybe you are already familiar with includes or preload, but you know
that a lot of the time you will need more than just preload(:comments).
It is common to have complex nested associations, scopes that you need or want
to reuse, places where preloading…
Ruby / Rails Inside
https://github.blog/2021-08-11-githubs-engineering-team-moved-codespaces/
The GitHub Blog
GitHub’s Engineering Team has moved to Codespaces
Over the past months, we’ve left our macOS model behind and moved to Codespaces for the majority of GitHub.com development.
Ruby / Rails Inside
https://noelrappin.com/blog/2021/07/an-object-oriented-example/
Noelrappin
An Object-Oriented Example – Noel Rappin Writes Here
I just write here
Ruby / Rails Inside
https://kubernetes-rails.com/
Ruby / Rails Inside
https://blog.arkency.com/audit-log-with-event-sourcing/
Arkency Blog
Audit log with event sourcing
Hi, we're Arkency and it's our blog with meaty content.
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