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://bigbinary.com/blog/rails-7-adds-method-calls-for-nested-secrets
BigBinary
Rails 7 adds method calls for nested secrets
Rails 7 series | Rails 7.0 adds method calls for nested secrets
Ruby / Rails Inside
https://blog.saeloun.com/2021/06/09/rails-7-add-encryption-to-active-record.html
Saeloun Blog
Rails 7 adds encryption to ActiveRecord
Rails 7 supports application-level encryption. We can declare which attributes should be encrypted and, ActiveRecord will encrypt and decrypt when necessary.
Ruby / Rails Inside
https://gorails.com/episodes/rails-requestjs
GoRails
How to use Rails Request.js (Example) | GoRails
Learn how to use Rails' brand new Request.js library for making AJAX requests in your Javascript
Ruby / Rails Inside
https://honeyryderchuck.gitlab.io/httpx/2021/06/11/introducing-idnx.html
Ruby / Rails Inside
https://weblog.rubyonrails.org/2021/6/11/this-week-in-rails-active-storage-audio-improvements-and-more/
Riding Rails
Active Storage audio improvements and more
Hi, Wojtek here with the summary of changes from the last week.
Ruby / Rails Inside
https://nts.strzibny.name/moving-actioncable-to-webpacker/
Notes to self
Moving ActionCable over to Webpacker
This week, I upgraded a little demo application for my book Deployment from Scratch from Rails 6 to Rails 6.1. Since I showcase WebSockets with ActionCable and Redis, I needed to move the ActionCable CoffeeScript from Sprockets to Webpacker.
Ruby / Rails Inside
https://www.viget.com/articles/friends-undirected-graph-connections-in-rails/
https://www.viget.com
“Friends” (Undirected Graph Connections) in Rails | Viget
Social relationships are tricky to model in a relational database. Here, we'll walk through an approach that is robust, easy to query, and avoids data duplication.
Ruby / Rails Inside
https://www.honeybadger.io/blog/typescript-rails/
Honeybadger Developer Blog
Adding Typescript to your Existing Rails App
Have you ever thought about trying typescript for your app's front end? It's enticing, but the thought of porting all that existing JS is just too much. But what if you could gradually introduce typescript into your existing app, only using it where it made…
Ruby / Rails Inside
https://blog.saeloun.com/2021/06/15/ruby-adds-enumerable-compact-and-enumerator-lazy-compact
Saeloun Blog
Ruby 3.1 adds Enumerable#compact and Enumerator::Lazy#compact
Ruby 3.1 adds Enumerable#compact and Enumerator::Lazy#compact to return a copy of `self` with all `nil` elements removed.
Ruby / Rails Inside
https://gorails.com/episodes/rails-web-components
GoRails
How to create Custom Elements with Web Components (Example)
Web Components are a great way to encapsulate Javascript logic around an element in your HTML. We'll explore how to create Custom Elements and see how Hotwire uses them for Turbo Stream actions.
Ruby / Rails Inside
https://blog.saeloun.com/2021/06/16/rails-7-provides-context-when-logging-unpermitted-parameters.html
Saeloun Blog
Rails 7 provides context when logging unpermitted parameters
Rails 7 enables passing context to ActionController::Parameters providing more information to the developer.
Ruby / Rails Inside
https://weblog.rubyonrails.org/2021/6/15/Rails-6-0-4-has-been-released/
Riding Rails
Rails 6.0.4 has been released
Hi everyone,
Ruby / Rails Inside
https://evilmartians.com/chronicles/anycable-goes-pro-fast-websockets-for-ruby-at-scale
evilmartians.com
AnyCable Goes Pro: Fast WebSockets for Ruby, at scale—Martian Chronicles, Evil Martians’ team blog
Introducing AnyCable Pro. The fast and robust drop-in extension for Action Cable aimed at Rails and pure Ruby projects adds commercial features on top of the open codebase
Ruby / Rails Inside
https://zachahn.com/posts/1623918287
Ruby / Rails Inside
https://hanamirb.org/blog/2021/06/18/new-git-branches/
Hanami
New Git Branches
New Git branches system, renamed master in favor of main. Main contains code for Hanami 2.0.
Ruby / Rails Inside
https://hanamimastery.com/episodes/4-string-transformations-with-dry-inflector
Hanami Mastery - a knowledge base to hanami framework
An easy string manipulations in Ruby with DRY-INFLECTOR! | Hanami Mastery - a knowledge base to hanami framework
Use constantize, classify, underscore and MORE on Strings in Pure ruby! Use dry-inflector to quickly apply non-standard string transformations!
Ruby / Rails Inside
https://www.johnnunemaker.com/feature-flags-for-tiny-bits/
John Nunemaker
Feature Flags: Not Just for Big Teams or Big Features
The query, cache, code, feature flag, graph and point: control your code, even the tiny bits.
Ruby / Rails Inside
https://www.honeybadger.io/blog/rails-security-authentication-leaks/
Honeybadger Developer Blog
Rails Security Threats: Authentication
Authentication is at the heart of most web development, yet it is difficult to get right. In this article, Diogo Souza discusses common security problems with authentication systems and how you can resolve them. Even if you never build an authentication system…
Ruby / Rails Inside
https://www.tomdalling.com/blog/software-processes/github-workflow-for-automated-gem-releases/
Tomdalling
GitHub Workflow For Automated Gem Releases
Ruby / Rails Inside
https://prabinpoudel.com.np/articles/live-stream-logs-to-browser-with-rails/
probn
Live Stream Logs to Browser with Rails - Prabin Poudel - Rails & Web App Developer | Freelancer
Live streaming files content to browser in Rails can be accomplished with the use of Server Side Events. In this tutorial, we will be learning to live stream content inside log files to the browser from Rails controller by using file watcher and server side…