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.
mooncats Gem - mint your own vintage mooncat pixel art images off chain with ruby
Hello, I have put together a little gem that includes a command line tool called mooncat - that lets you mint your own vintage (free) mooncat pixel art images off chain using any of the 128 True Official Genuine Mooncat™ md5-verified original designs; incl. 2x/4x/8x zoom for bigger sizes. Cheers. Prost. The future is meow.
FTP Integration in Rails App
Ruby on Rails web applications require FTP integration for downloading and sending files. Here are the different ways to integrate FTP with a Rails app. https://www.botreetechnologies.com/blog/ftp-integration-in-rails-app/
User Session Inactivity Timeout with Rails and Devise
https://jasonheecs.medium.com/user-session-inactivity-timeout-with-rails-and-devise-7269ac3a8213
SOLID Design Principles in Ruby
As developers, we spend way more time maintaining and changing code than we do writing it. By optimizing for change through SOLID design principles, we can avoid a lot of pain. In this article, Milap Neupane introduces us to SOLID, explains each principle in-depth, and shows us how to apply them in Ruby. https://www.honeybadger.io/blog/ruby-solid-design-principles/
Spree Commerce 4.2 Global Edition released!
Spree 4.2 is a collaborative work of 34 outstanding individuals from around the globe who contributed over 1700 commits since Spree 4.1. [more inside]
Glimmer Gets Its First Official Custom Shape Gems
Glimmer gets its first official custom shape gems: bevel and stick_figure, used in Tetris and DCR.
https://andymaleh.blogspot.com/2021/03/glimmer-gets-its-first-official-custom.html
Day 7 - erd @ Ruby Open Data Week 2021 - 7 Days of Ruby (Open Data) Gems
Hello, let’s welcome the seventh write-up in the Ruby Open Data Week 2021: Day 7 - erd Gem - Generate Entity-Relationship Diagrams (ERD) for Your ActiveRecord Models. Cheers. Prost.
bundler-audit 0.8.0 released!
bundler-audit 0.8.0 has finally been released. This release adds support for a .bundler-audit.yml configuration file, an output format API, JSON output, auto-downloads the ruby-advisory-db on first-run, and added the --gemfile-lock, --database, --format, --output options. Special thanks to the beta-tests who tested the pre-releases. [more inside]
RSpec fundamentals: setup, naming, and basic structure
When you start programming, it’s not easy to know what to test, how to test, and why should you test? This first post about RSpec fundamentals will be part of a larger series explaining various aspects of testing with RSpec. [more inside]
Day 6 - worldlite @ Ruby Open Data Week 2021 - 7 Days of Ruby (Open Data) Gems
Hello, let’s welcome the sixth write-up in the Ruby Open Data Week 2021: Day 6 - worldlite Gem - All the World’s Countries ‘n’ Codes Incl. ISO (Alpha 2, Alpha 3, Num 3), FIFA, IOC, Internet Domains, Vehicle Registration Plates, ‘n’ More. Cheers. Prost.
Nebula Glimmer Custom Widget
The Nebula Project is a collection of 55+ enterprise-grade high-quality SWT (Standard Widget Toolkit) custom widgets, which are made available for use with Glimmer DSL for SWT in this Ruby gem. Glimmer DSL for SWT is more than feature-complete. It is enterprise-grade-complete! [more inside]
SudoRails v0.7.0 has been released 🚀 Sudo mode for your Rails controllers 🔒
Protect any Rails action with a customizable password confirmation. 🙇 Inspired by GitHub Sudo mode and Unix sudo command. [more inside]
How to make an Instagram clone with Ruby on Rails & StimulusReflex (live stream)
I’m running a live stream on YouTube where I explore how to build an Instagram clone with Ruby on Rails & StimulusReflex using BDD. Check it out
Rotate Log Files in Rails Application with LogRotate in Ubuntu
Want to know how to rotate log files in a rails application? here’s how to use logrotate installation in ubuntu for automatically rotating log files in your rails web app. https://www.botreetechnologies.com/blog/rotate-log-files-in-rails-application-with-logrotate-in-ubuntu/
Day 5 - csvpack @ Ruby Open Data Week 2021 - 7 Days of Ruby (Open Data) Gems
Hello, let’s welcome the fifth write-up in the Ruby Open Data Week 2021: Day 5 - csvpack Gem - Work with Tabular Data Packages (.CSV Files w/ datapackage.json) using SQLite In-Memory (w/ ActiveRecord). Cheers. Prost.
Bonus! Day 4 - annotate @ Ruby Open Data Week 2021 - 7 Days of Ruby (Open Data) Gems
Hello, let’s welcome the fourth (bonus!) write-up in the Ruby Open Data Week 2021: Day 4 - annotate Gem - Annotate Your ActiveRecord Models with Comments about Your Database Table Structure. Cheers. Prost.
Day 4 - schemadoc @ Ruby Open Data Week 2021 - 7 Days of Ruby (Open Data) Gems
Hello, let’s welcome the fourth write-up in the Ruby Open Data Week 2021: Day 4 - schemadoc Gem - Auto-Generate Your SQL Database Schema Documentation for Tables, Columns, Symbols A-Z, Etc - Use Your Own (Static Jekyll) Themes And More.Cheers. Prost.
Adding SQLite to a Rails development container
My pursuit of developer happiness via Docker/containers continues. This week, I added SQLite support to my Rails container environment in VS Code.
Logging in Ruby with Logger and Lograge
Logging is tricky. You want logs to include enough detail to be useful, but not so much that you’re drowning in noise - or violating regulations like GDPR. In this article, Diogo Souza introduces us to Ruby’s logging system and the LogRage gem. He shows us how to create custom logs, output the logs in formats like JSON, and reduce the verbosity of default Rails logs. https://www.honeybadger.io/blog/ruby-logger-lograge/