Ruby on Rails | rubyclub
1.52K subscribers
214 photos
1 video
264 links
Software Writer @yegorckv
Download Telegram
DHH: Rails Programmer at 37signals

We have another programmer opening at 37signals. Fully remote, pay between $170,000 - $201,980, eligible for profit share after 2 years, and the chance to work with some amazing people on Basecamp, HEY, ONCE, Rails, Kamal. Oh, and Linux πŸ˜„
πŸ’» How to build a Rails API with rate limiting

How secure is your API? Learn how to build an API with Ruby on Rails and use rack-attack to keep the bad actors out.
Please open Telegram to view this post
VIEW IN TELEGRAM
πŸ’» Rails pro tips

Did you know that Rails 7 now supports virtual columns?

Take advantage of this feature to create virtual columns calculated by the database during INSERT and UPDATE
Please open Telegram to view this post
VIEW IN TELEGRAM
πŸ’» Light Services: A New Ruby Gem for Service Objects

Light Services is a simple yet powerful way to organize your business logic. This Ruby gem helps you build services that are easy to test, maintain, and understand.
Please open Telegram to view this post
VIEW IN TELEGRAM
πŸ’» SaaS on Rails on PostgreSQL | POSETTE 2024

Video of a conference talk about Saas on Rails on PostgreSQL presented by Andrew Atkinson at POSETTE: An Event for Postgres 2024. In this talk attendees will learn how Ruby on Rails and PostgreSQL can be used to create scalable SaaS applications, focusing on schema and query design, and leveraging database capabilities.
Please open Telegram to view this post
VIEW IN TELEGRAM
πŸ’» Turbo Native & Strada: Turning a web-only Rails app native

Going Native: We go step-by-step to turn our web-only Rails app native using Turbo Native & Strada
Please open Telegram to view this post
VIEW IN TELEGRAM
πŸ’» Rails 7 modified the behavior of transaction blocks

Now, early block termination triggers a rollback instead of committing the transaction
Please open Telegram to view this post
VIEW IN TELEGRAM
πŸ’» Refactoring transaction blocks with the endless method

You can use the endless method to name a transaction block in Rails
Please open Telegram to view this post
VIEW IN TELEGRAM
πŸ‘©β€πŸ’» The Short Ruby Newsletter edition 96 is out

Here is a highlight of some of the information inside
Please open Telegram to view this post
VIEW IN TELEGRAM
πŸ’» Awesome Ruby

A Curated List of 945 Ruby Libraries and Tools β€” Every year or two, we link to this epic, categorized collection of Ruby goodies. It continues to be updated frequently with new entries added (such as the new section on Gem servers) and you’re encouraged to contribute your own projects too
Please open Telegram to view this post
VIEW IN TELEGRAM
πŸ’» Take the habit of using pick(*column_names) instead of pluck(*column_names).first
Please open Telegram to view this post
VIEW IN TELEGRAM
πŸ‘©β€πŸ’» Top Five PostgreSQL Surprises from Rails Developers

Dive Deeper Into PostgreSQL Capabilities
Please open Telegram to view this post
VIEW IN TELEGRAM
πŸ’» Take advantage of the SimpleDelegator class to seamlessly separate view logic from models using presenters
Please open Telegram to view this post
VIEW IN TELEGRAM
πŸ’»Rails Developer Answers Questions about Strada

Hey everyone welcome back to the channel in this video I am back on Hotwired Discussion answering questions and helping people learn the Hotwire frameworks. I helped somebody get there Turbo IOS working with Strada with there top navigation button something I built recently in this video
Please open Telegram to view this post
VIEW IN TELEGRAM
πŸ’» Do you remember Rails nilify_blanks gem? With Rails 7.1

ActiveRecord::Base::normalizes you can get similar results out of the boxx
Please open Telegram to view this post
VIEW IN TELEGRAM
πŸ’» Episode #3 – Writebook by ONCE

Hey everyone! Welcome back to Ruby&Beyond! Today, we're diving into the Writebook project from ONCE.com by 37 Signals. I’ll take you through the code, showing you how it’s all put together. Whether you're new to Ruby or have been at it for a while, you'll find some cool tips and tricks in this walkthrough.
Please open Telegram to view this post
VIEW IN TELEGRAM
Vite Ruby

Vite Ruby is an umbrella project that provides full Vite.js integration in Ruby web apps.

vite_rails provides similar functionality as webpacker does for webpack, without all the configuration overhead and dependencies.

vite_ruby can be used in plain Rack apps, and is all you need when using HTML entrypoints.

There are also integrations for Jekyll, Hanami, and Padrino.
DHH

Solid Queue now runs close to 20 million jobs daily, just for HEY. When we are done migrating all the apps, we will be processing nearly 100 million jobs per day through Solid Queue. It'll be a very SOLID 1.0
πŸ’» Ruby tips

Take advantage of Enumerable#minmax_by to return a 2-element array containing the elements for which the block returns minimum and maximum values
Please open Telegram to view this post
VIEW IN TELEGRAM
There are three things you can watch endlessly: fire burning, water flowing, and the question "Is Ruby dying?" being discussed at our Tech Talk.

Join us on July 24 at 18:30 CET in an engaging interview where we’ll talk about the future of this language.

Register here

At the meeting, we'll discuss:
πŸ”ΉWhat's Ruby and what are the benefits and possibilities of it?
πŸ”ΉIn which fields and domains is Ruby used?
πŸ”ΉWhat frameworks, databases, and tools are used together with Ruby?
πŸ”ΉWhat projects are better to develop on Ruby?
πŸ”ΉHow big is Ruby community?
πŸ”ΉAre there any events, or meet-ups for Ruby Developers?
πŸ”ΉWhat’s the future of Ruby language?
πŸ”ΉIs Ruby really β€œdying” and what awaits him in the future

The meetup will be useful for both experienced professionals and newcomers to IT.

Tech Talk details:
πŸ“ Location: Warsaw
πŸ—£ Language: Russian
🌐 Format: Online (interview)
πŸ‘₯ Speaker: Uladzislau Fralou, Senior Software Engineer
🎀 Interviewer: Ihar Rybak, Senior Software Engineer

Don't miss the opportunity to ask your questions, discuss the topic with experts, and meet like-minded people.
Register now and stay informed about the latest trends and prospects!

Do you have something to share with the world? Become a speaker!
πŸ“Ί NEW Rails 8 Authentication Generator

Recently DHH merged a PR that adds an authentication generator to Rails.

Currently the generator allows email-password log in for existing users. It does not tackle registrations.
Please open Telegram to view this post
VIEW IN TELEGRAM