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
Note: Only the first pargraph is shown on the front page and overly long paragraphs may be broken up.
Have you ever dealt with a unicode bug? Where plain text — the substance you work with all day — can no longer be trusted? It can be disorienting to say the least! This article will help prepare you so that the next time that happens you’ll be able to spend less time hyperventilating and more time troubleshooting. Check it out on our blog: https://www.honeybadger.io/blog/the-rubyist-guide-to-unicode-utf8/
Ruby gem to video record or take screenshots of your computer screen - desktop or specific window. Works on Windows, Linux, and macOS. https://github.com/kapoorlakshya/screen-recorder
Hello, I’ve updated (and un-gemified) the planet.rb quick starter script v1.0 that lets you add articles & blog posts to your static (jekyll & friends) website via feeds (and planet pluto). Happy planet! Prosit 2020! PS: You can find a live sample “Planet Ruby” website built with the planet.rb quick starter script (and jekyll / github pages) online @ http://feedreader.github.io/jekyll.planet.sample. For a great real-world example / setup see the “Planet OpenSUSE - Linux OS” @ https://github.com/openSUSE/planet-o-o.
https://github.com/igorkasyanchuk/active_storage_validations added rspec/minitest matchers. [more inside]
Playing around to make a full-featured development environment on top of Kubernetes and sync files back and forth within Kubernetes and local machine.
Hello, It’s Friday. Ruby Quiz time! Join us for the first challenge in the new year in 2020! Here we go: Challenge #16 - Build the Manuscripts Book Manifest for Documents in Markdown Let’s read documents in structured text with formatting conventions in markdown and build up the chapter outline / manifest for the Manuscripts book format… Post your code snippets on the “official” Ruby Quiz Channel, that is, the ruby-talk mailing list. Happy book manufacturing and text processing with Ruby.
Using a wildcard syntax (
*) when defining routes in
routes.rb, we can slurp
up URL segments and make them available in our controller
params. This blog post discusses this lesser known Rails routing feature with a potential use case.
When running database migrations is a manual step in your deployment process it’s easy to make mistakes that cause downtime. This blog post discusses how to configure Heroku to automatically run database migrations for a Rails app before the app is released.
When it comes to DB changes with zero downtime requirements on a Rails application in production it’s always scary. My recent blog post From Single drop-down to Multiple check-boxes describes how to do get rid this fear and make requested changes with confidence.
Hello, I’ve put together an step-by-step article that breaks down the “magic” of Bitcon’s proof-of-work / waste 10-minute mining lottery. Follow (or just read) along with with many ready-to-run examples (in ruby) including what’s your hash rate per seconds and more. Happy secure hashing and blockchaining with ruby. Bonus: Learn the secret How to Buy Bitcon (The CO₂-Friendly Way) by Trolly McTrollface.
Learn some effective performance and optimization techniques that you can use to speed up your Rails app - https://blog.appsignal.com/2020/01/22/rails-is-fast-optimize-your-view-performance.html