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://railsautoscale.com/heroku-logs-tools/
Railsautoscale
Power tools for analyzing your Heroku logs
Extract fields and perform aggregations on your Heroku logs. All in real-time, with beautiful, human-readable output.
Ruby / Rails Inside
https://blog.saeloun.com/2021/08/03/ruby-adds-integer-try-convert.html
Saeloun Blog
Ruby 3.1 adds try_convert method to Integer class for implicit conversions
try_convert for Integer will convert the object into an instance of the class via the implicit conversion method to_int and returns nil if no implicit conversion method is defined.
Ruby / Rails Inside
https://davidmles.medium.com/setting-up-rails-6-1-tailwind-css-2-2-with-jit-41a237ca22dc
Medium
Setting Up Rails 6.1 + Tailwind CSS 2.2 with JIT
I’m going to show you how to create a project with Rails 6.1 and its default Webpacker version (4.5), and configure Tailwind CSS with its…
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/