The Ruby and Rails community linklog
Made a library? Written a blog post? Found a useful tutorial? Share it with the Ruby community here or just enjoy what everyone else has found!
Submit a post
Post Preview
Note: Only the first pargraph is shown on the front page and overly long paragraphs may be broken up.
Hotwire Tutorial
Hotwire is the newest magic which takes a different approach to building modern web applications without using much JavaScript. https://www.driftingruby.com/episodes/hotwire
Build a real-time Twitter clone with Hotwire & Rails
To see how Hotwire really compares, I’ve built a Twitter clone so you can see how it stacks up with other server-side reactive approaches. Watch the How to use Hotwire & Rails to build a Twitter clone screencast
Day 23 - json-next @ Ruby Advent Calendar 2020 - 25 Days of Ruby Gems
Hello, the twenty third write-up in the Ruby Advent Calendar 2020: Day 23 - json-next Gem - Read Next Generation JSON Versions (HanSON, SON, JSONX/JSON11, Etc) with Comments, Unquoted Keys, Multi-Line Strings, Trailing Commas, Optional Commas, and More @ Ruby Advent Calendar 2020 / 25 Days of Ruby Gems. Cheers. Prost
The Beginner's Guide to Bundler and Gemfiles
Using a real-world example of bad documentation, we learn how Bundler and Gemfiles work by working through the errors.
Web Scraping with Ruby
I spend the last week writing this in-depth web scraping tutorial in Ruby: Web Scraping with Ruby [more inside]
Day 22 - active_record-events @ Ruby Advent Calendar 2020 - 25 Days of Ruby Gems
Hello, let’s thank Bartosz Pieńkowski for the twenty second write-up in the Ruby Advent Calendar 2020: Day 22 - active_record-events Gem - Complete? Record Your Own Timestamps in Active Record Models with has_event Macro, Automagically @ Ruby Advent Calendar 2020 / 25 Days of Ruby Gems. Cheers. Prost
How I Upgrade Ruby on Rails
Rails 6.1 looks to be a solid release. Though, despite all the new features and fixes a new Rails version brings, there is always one looming problem for developers - the upgrade. I wrote a blog post outlining the steps taken when I upgrade a Rails app. Hopefully others can find this helpful.
Easy Sitemaps
I’ve been doing some reading and learning about SEO of late. An easy thing to do is to create a sitemap and submit it to google’s search console. [more inside]
Versionaire 8.7.0 - Kernel Casting and Sequential Bumping
In case you need a version type in your Ruby code, take a look at the new release of Versionaire which adds a Kernel Refinement to give you a Version conversion function much like Kernel’s own Interger, String, Array, Hash functions. Even better, your object space isn’t polluted! With this new release, you can also sequentially increase or decrease versions with ease. Enjoy!
Adding Multifactor Authentication in Rails 6 with Rodauth
The Rodauth authentication framework ships with multifactor authentication, supporting TOTP, SMS codes, recovery codes, and WebAuthn. It provides complete endpoints and HTML templates for setting up, authenticating, and disabling each MFA method. See how to add multifactor authentication to a Rails 6 app with Rodauth.
Day 21 - super_diff @ Ruby Advent Calendar 2020 - 25 Days of Ruby Gems
Hello, let’s thank Elliot Winkler for the twenty first write-up in the Ruby Advent Calendar 2020: Day 21 - super_diff Gem - A More Helpful Way to View Differences Between Complex Data Structures in Test Spec(ification)s. Cheers. Prost.
Best Ruby Programming Book of Year 2020 Award Goes To...
… Black Hat Ruby - Offensive Ruby Programming for Hackers and Pentesters by Sabri Saleh Hassanyah. Congrats! PS: What’s your ruby programming book of the year 2020?
Kafka for Rubyists Mini Course
I’ve been recently planning to record a couple of tutorials for my team in BookingSync, focusing mostly on monitoring and some other more advanced aspects of Kafka and Karafka. But if I was already recording something, then why not make it available publicly so that more developers could benefit from it? So, in the end, I decided to make a bit more effort and recorded this mini-course, which will be available for everyone ;). [more inside]
Day 20 - lhs and lhc @ Ruby Advent Calendar 2020 - 25 Days of Ruby Gems
Hello, let’s thank Marco Roth for the twentieth write-up in the Ruby Advent Calendar 2020: Day 20 - lhs and lhc Gems - Easy Active Record-Like Interfaces for Accessing HTTP JSON APIs - Smarter Higher-Level HTTP Service and Lower-Level HTTP Client. Cheers. Prost.
Glimmer DSL for SWT 4.18.0.0 Is Finally Here!
SWT (Standard Widget Toolkit) 4.18 and JRuby 9.2.14.0 were just released this month, so Glimmer DSL for SWT now supports them in v4.18.0.0. Also, the Glimmer Meta-Sample now permits changing/experimenting with Desktop GUI code before launching samples. Last but not least, Hello, Link! has been added to the list of Desktop GUI samples supported by Glimmer DSL for SWT. Happy Glimmering! https://andymaleh.blogspot.com/2020/12/glimmer-dsl-for-swt-41800-is-finally.html
Day 19 - quik @ Ruby Advent Calendar 2020 - 25 Days of Ruby Gems
Hello, the nineteenth write-up in the Ruby Advent Calendar 2020: Day 19 - quik Gem - Quick Starter Template Script Wizard - The Missing Code Generator and Project Scaffolder for Gems, Sinatra, Jekyll ‘n’ More. Cheers. Prost.
Ruby Blockchain Week 2021, January 3rd to 9th - 7 Days of Crypto Gems Upcoming
Hello, as a follow-up to the Ruby Advent Calendar ongoing now :-) - join us in 2021 and claim a free day in the upcoming Ruby Blockchain Week 2021, January 3rd to January 9th - 7 Days of Ruby (Crypto) Gems. Why not highlight a blockchain / cryptos gem with your write-up in the ruby universe? Yes, you can! All welcome from no coiners to bitcon austrian school of economics “I HODL! You HODL! We HODL! Number Go UP!” maximalists to universum is the new ethereum world computer blockchainers. Cheers. Prost.
Super v0.0.7: Filtering!
I recently added filtering support to Super, a Rails admin framework. Check out the release and the demo!
Bonus! - Day 18 - henkei @ Ruby Advent Calendar 2020 - 25 Days of Ruby Gems
Hello, let’s thank Matt Swanson for the eighteenth (+1 bonus) write-up in the Ruby Advent Calendar 2020 - Day 18 - henkei Gem - Read Text and Meta Data from Word, PowerPoint, or PDF Files. Cheers. Prost.
Day 18 - dentaku @ Ruby Advent Calendar 2020 - 25 Days of Ruby Gems
Hello, let’s thank Jankees van Woezik for the eighteenth write-up in the Ruby Advent Calendar 2020: Day 18 - dentaku Gem - Parse and Evaluate Math (and Logical Formulas) with a Calculator in a Sandbox, Safely. Cheers. Prost.
Day 17 - any_login @ Ruby Advent Calendar 2020 - 25 Days of Ruby Gems
Hello, let’s thank Igor Kasyanchuk for the seventeenth write-up in the Ruby Advent Calendar 2020: Day 17 - any_login Gem - Speed Up Testing Allowing One-Click Turbologins® Without Passwords as Any User in the System. Switching User (Accounts) Made Easy (and Faster). Cheers. Prost.
cryptoquotes gem v1.0 - incl. oracle tool to get a random crypto quote of the day
Hello, Number go up. Fear of missing out (FOMO) on the latest all time-high (ATH) Bitcon bull run hitting $20 000? I have put together a little gem - that is, cryptoquotes - that gets you a random crypto quote of the day on the command line - on the new new “in math we trust” ponzi economics, on get-rich-quick blockchain secrets, on bitcon maximalists, scammers, morons, clowns, shills & bagHODLers and more. Cheers. Prost.
Load Test Your Rails Apps with Apache JMeter
Every Rails app has a breaking point; a level of activity that it simply cannot handle. Your braking point depends on big architectural decisions, yes — and also on the tiniest changes committed by your most junior developer. That’s why it’s vital to regularly test your application’s performance under load. In this article, Milap Neupane gives us a Rails-centric introduction to load testing with a powerful open-source tool called JMeter. https://www.honeybadger.io/blog/rails-load-testing-jmeter/