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://evilmartians.com/chronicles/logidze-1-0-active-record-postgresql-rails-and-time-travel
evilmartians.com
Logidze 1.0: Active Record, Postgres, Rails, and time travel—Martian Chronicles, Evil Martians’ team blog
Learn about Logidze 1.0, a performant Ruby library that tracks Active Record changes using PostgreSQL triggers and JSONB stores.
Ruby / Rails Inside
https://planetruby.github.io/gems/glimmer/04-glimmer-dsl-opal
Best of Ruby Gems Series
Day 4 - glimmer-dsl-opal Gem - Script Web Widgets with Two-Way Data-Binding - Ruby <3 JavaScript - Thanks to Opal, the Ruby to…
Ruby Open Data Week 2021, March 6th to 12th - 7 Days of Ruby (Open Data) Gems ++ Best of Ruby Gems Series
Ruby / Rails Inside
https://evilmartians.com/chronicles/fast-delivery-performance-and-real-time-for-retail-zipline
Ruby / Rails Inside
https://thibautbarrere.com/2021/01/20/circle-ci-with-multiple-databases-and-rubies
Thibautbarrere
CircleCI testing for a Ruby library (against multiple databases and rubies)
Leverage CircleCI parameterized builds to run a testing matrix
Ruby / Rails Inside
https://www.moncefbelyamani.com/the-first-gem-you-should-add-to-your-ruby-project/
Moncefbelyamani
The First Gem You Should Add to Your Ruby Project
Moncef Belyamani writes guides to help you become a more confident coder.
Ruby / Rails Inside
https://nebulab.it/blog/using-activesupport-to-deprecate-gems-code/
Nebulab
Using ActiveSupport to deprecate gems code
Here are some best practices to deprecate Ruby application components with ActiveSupport.
Ruby / Rails Inside
https://gorails.com/episodes/realtime-nested-comments-part-1
GoRails
Realtime Nested Comments: Part 1 (Example) | GoRails
Hotwire lets us broadcast changes so we can use the same approach for nested comments, but in realtime!
Ruby / Rails Inside
https://evilmartians.com/chronicles/reusable-development-containers-with-docker-compose-and-dip
evilmartians.com
Reusable development containers with Docker Compose and Dip—Martian Chronicles, Evil Martians’ team blog
Run and test your code in multiple environments with minimal effort while keeping Docker Compose files under control with Dip. Examples for Ruby, Node.js, and Erlang.
Ruby / Rails Inside
https://bishwahang.com/2021/02/05/parallelism-in-ruby-3-0-with-ractors.html
Bishwa Hang Rai’s Blog
Parallelism in Ruby 3.0 with Ractors
With the release of Ruby 3.0, one of the most awaited feature was the release of Ractor. It is still in its experimental phase, but it shows quite big promise, especially with parallel execution of multiple Ractors (and code enclosed in it).
Ruby / Rails Inside
https://karolgalanciak.com/blog/2021/02/05/kafka-for-rubyists-mini-course-advanced-karafka
Karolgalanciak
Kafka for Rubyists Mini Course: Advanced Karafka
This is the fourth and also the last part of the Kafka For Rubyists mini course. If you are interested in other parts of the course, please check them out here.
Ruby / Rails Inside
https://andycroll.com/ruby/use-enhanced-memoization-for-false-nil-with-defined/
Andy Croll
Use Enhanced Memoization for false/nil with defined?
Memoizing false & nil results requires more formality
Ruby / Rails Inside
https://thedevpost.com/blog/mysql2-gem-prepared-statements/
The Dev Post
Interact With Mysql Server Using Mysql2 Gem [Part 3] - Prepared Statements
mysql2 gem is a simple and fast Mysql library for Ruby. And, this tutorial shows how to use the prepared statements using mysql2 gem.
Ruby / Rails Inside
https://blog.saeloun.com/2021/02/05/add-validate-numericality-in-range
Saeloun Blog
Rails 6.1 adds support for validating numeric values fall in a range using `in:` option
The `numericality` validation helper now accepts `in:` as an option for which the value must be a range.
Ruby / Rails Inside
https://wjwh.eu/posts/2021-02-07-ruby-preemptive-fiber.html
Ruby / Rails Inside
https://kirshatrov.com/2021/02/09/vitess-notes/
Kir Shatrov
Vitess: scrappy notes
I’ve been playing with Vitess at work, and I’ve been finding it extremely hard to Google for common issues and error messages from Vitess. While the official docs are improving, there’s a general lack of stack overflow -like tips for fixing silly errors.…
Ruby / Rails Inside
https://longliveruby.com/articles/small-rails-design-patterns
Longliveruby
Small Rails design patterns that make a big difference
Refactor your Rails application without introducing big changes
Ruby / Rails Inside
https://medium.com/rubycademy/3-ways-to-use-regexp-capture-groups-with-back-references-in-ruby-b4969cc9b3ec
Medium
3 ways to use Regexp capture groups with back-references in Ruby
Taking advantage of capture groups to manipulate Strings in Ruby
Ruby / Rails Inside
https://gorails.com/episodes/realtime-nested-comments-part-2
GoRails
Realtime Nested Comments: Part 2 (Example) | GoRails
Hotwire lets us broadcast changes so we can use the same approach for nested comments, but in realtime!
Ruby / Rails Inside
https://weblog.rubyonrails.org/2021/2/9/Rails-6-1-2-has-been-released/
Riding Rails
Rails 6.1.2 has been released!
Hi everyone,
Ruby / Rails Inside
https://blog.arkency.com/testing-responses-from-http-apis-with-cursor-based-pagination-and-webmock/
Arkency Blog
Testing cursor-based pagination with Webmock
Hi, we're Arkency and it's our blog with meaty content.
Ruby / Rails Inside
https://www.youtube.com/watch?v=sEOLtIGkDeM
YouTube
How To Encrypt Fields in Ruby on Rails with Lockbox
In this tutorial I'm going to show you how to use the Lockbox gem ( https://github.com/ankane/lockbox ) to encrypt field within your Database.
This is a good solution for when you need to store some sensitive data (such an oauth credentials, or an API key)…