Hereโs how these three approaches compare and contrast with each other. While writing this I learned about a few techniques that I canโt wait to try in the future - hopefully you will, too.
Please open Telegram to view this post
VIEW IN TELEGRAM
Masilotti.com
Rails Authentication: Gems vs. Recipes vs. Generators | Masilotti.com
Three different ways to handle authentication in Rails: from quick gem installs to custom-built recipes and flexible generators.
This is good. With Ruby Central focusing their efforts on general-purpose Ruby endeavors, like maintaining Bundler and RubyGems, as well as putting on RubyConf, the division of responsibilities between it and The Rails Foundation is now clear.
Please open Telegram to view this post
VIEW IN TELEGRAM
Hey
The last RailsConf
Few numbers exemplified the early growth of Rails like attendance at RailsConf. I think we started with something like 400-600 attendees at the inaugural conference in Chicago in 2006, then just kept doubling year over year, as Rails went to the moon. Ifโฆ
In this episode we will store the stream mode value against the user in a jsonb options column in the database. This will happen when the user toggles stream mode so that it is persisted between page refreshes.
Please open Telegram to view this post
VIEW IN TELEGRAM
Make your Rails website behave like an installable app by turning it into a PWA.
All new Rails apps will have a webmanifest by default, meaning your app will be a Progressive Web App out of the box!
In this episode we will explore how PWAs work.
Please open Telegram to view this post
VIEW IN TELEGRAM
Please open Telegram to view this post
VIEW IN TELEGRAM
As a novice or professional Ruby on Rails developer, you're likely familiar with the concepts of Concerns and Modules. Both are used to organize and reuse code but have different purposes and distinct use cases.
Please open Telegram to view this post
VIEW IN TELEGRAM
โก๏ธ Running Solid Queue in production Rails apps
Say goodbye to the complexities and costs of managing external services like Redis, and hello to Solid Queue. In this article, we'll explore using Solid Queue to process background jobs, from integration to deployment, and even monitoring!
Say goodbye to the complexities and costs of managing external services like Redis, and hello to Solid Queue. In this article, we'll explore using Solid Queue to process background jobs, from integration to deployment, and even monitoring!
๐BalticRuby 2024
This is a community-driven conference traveling across the Baltic Sea promoting the growth of local communities and the global Ruby/Rails ecosystem.
Here are the highlights of why it's worth attending.
๐ Speakers from more than 10 countries, representing both local and global communities, include Yukihiro Matz Matsumoto, Sam Giddins, Cristian Planas, Erica Weistrand, Tobias Pfeiffer, Jฤnis Baiลพa, Stephen Margheim, and more!
๐ There will be also an OSS expo along the main track. Folks from Rails Core and Ruby Central are joining, as well as maintainers and contributors from Active Record, ViewComponent, Hotwire, and more.
๐ A bootcamp for juniors, prepared by Steven R. Baker - the creator of rSpec - along with MalmoRB community
All the details are here: https://balticruby.org/
And specially for all the members here BalticRuby prepared a hot offer.
๐ Grab your "Personal" ticket with a 30% discount now: https://pretix.eu/balticruby/tickets/redeem?voucher=Z75R6UMXVKDX8PMC
๐ซ Or get a progressive discounts up to 30% for "Employee" tickets for companies: https://pretix.eu/balticruby/tickets/
๐๏ธ All the attendees can enjoy a 20% discount on accommodation at the nearby Malmo Arena Hotel.
Get your ticket and sea ya on the Baltic shore ๐
This is a community-driven conference traveling across the Baltic Sea promoting the growth of local communities and the global Ruby/Rails ecosystem.
Here are the highlights of why it's worth attending.
๐ Speakers from more than 10 countries, representing both local and global communities, include Yukihiro Matz Matsumoto, Sam Giddins, Cristian Planas, Erica Weistrand, Tobias Pfeiffer, Jฤnis Baiลพa, Stephen Margheim, and more!
๐ There will be also an OSS expo along the main track. Folks from Rails Core and Ruby Central are joining, as well as maintainers and contributors from Active Record, ViewComponent, Hotwire, and more.
๐ A bootcamp for juniors, prepared by Steven R. Baker - the creator of rSpec - along with MalmoRB community
All the details are here: https://balticruby.org/
And specially for all the members here BalticRuby prepared a hot offer.
๐ Grab your "Personal" ticket with a 30% discount now: https://pretix.eu/balticruby/tickets/redeem?voucher=Z75R6UMXVKDX8PMC
๐ซ Or get a progressive discounts up to 30% for "Employee" tickets for companies: https://pretix.eu/balticruby/tickets/
๐๏ธ All the attendees can enjoy a 20% discount on accommodation at the nearby Malmo Arena Hotel.
Get your ticket and sea ya on the Baltic shore ๐
Please open Telegram to view this post
VIEW IN TELEGRAM
Please open Telegram to view this post
VIEW IN TELEGRAM
Sometimes you need to check if a value is in an array and return the value if so.
ActiveSupport adds
presence_in
so you can do exactly this instead of using a conditional.Please open Telegram to view this post
VIEW IN TELEGRAM
The train for the Rails 7.2 release is leaving the station and weโre excited to announce the first beta release of Rails 7.2
Please open Telegram to view this post
VIEW IN TELEGRAM
Rails 7.2 automatically handles this for you by queuing up jobs _after_ the transaction is committed.
Please open Telegram to view this post
VIEW IN TELEGRAM
Hotwire is a library that brings real-time functionality to your Rails applications. By integrating Hotwire-enabled comments, you can create a more interactive and immersive experience for your readers. Thatโs our focus today.
With Hotwire, we can enhance a typical blob comment with Rails in the following ways:
- Enable real-time commenting without page reloads
- Display new comments as they are posted.
- Update comment counts dynamically.
- Enhance user engagement and encourage discussion.
- Delete and edit comments without reloading pages
Please open Telegram to view this post
VIEW IN TELEGRAM
A talk from RubyConfTH 2023, held in Bangkok, Thailand on October 6-7, 2023.
Find out more and register for updates for our next conference at https://rubyconfth.com/
Please open Telegram to view this post
VIEW IN TELEGRAM
Did you know that you can use constraints with regular expressions to validate dynamic segments in routes?
Please open Telegram to view this post
VIEW IN TELEGRAM
Please open Telegram to view this post
VIEW IN TELEGRAM
Rails makes implementing Content Security Policy (CSP) HTTP headers easy
For recall, CSP helps prevent the execution of inline scripts and only allows scripts from trusted sources.
Please open Telegram to view this post
VIEW IN TELEGRAM
Please open Telegram to view this post
VIEW IN TELEGRAM
DHH: Creator of Ruby on Rails shows off his new Ubuntu setup, and lets you copy his setup with one command
โค omakub.org
Please open Telegram to view this post
VIEW IN 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 ๐
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 ๐