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.
TimeBoss: Broadcast Calendar navigation made simple
TimeBoss provides you a simple language with which to browse the Broadcast Calendar, a standard Gregorian calendar, and is easily extensible to other custom financial calendars.
Invokable 0.6.0 - Treat classes as curried functions!
https://github.com/delonnewman/invokable Invokable 0.6.0 Brings an improved API for treating classes as curried functions that has now be included in the core module.
How to Avoid Dumb Coding Mistakes (Part II)
Programming for me is less about “getting it right” than “not getting it wrong”. To that end, I’ve documented and categorized the most common dumb mistakes I make, the idea being that awareness of these downfalls is transformed into a mental checklist of considerations for avoiding mistakes. [more inside]
Introduction to Ruby on Rails Patterns and Anti-patterns
Dig into the basics of design patterns and anti-patterns. https://blog.appsignal.com/2020/08/05/introduction-to-ruby-on-rails-patterns-and-anti-patterns.html
Our Code Review Etiquette
Code Review is one of the greatest tools we have as software developers to help us improve the quality of our code. It can be incredibly beneficial, but it can also be a source of pain, frustration, and overall, a waste of time instead of a time-saver. https://www.ombulabs.com/blog/best-practices/pull-requests/our-code-review-etiquette.html
Securely Send Large Files for Free Using Ruby with Firefox Send
Learn more how to send large files securely for free using ruby with firefox send. We evaluated couple of free services and finally chosen firefox sen. https://www.botreetechnologies.com/blog/securely-send-large-files-for-free-using-ruby-with-firefox-send
How to Test Ruby Code That Depends on External APIs
Few things are more frustrating than slow, flaky test suites. You’re ready to deploy, wait 20 minutes for CI to run, only to find that a test failure in code you’ve never touched is blocking you. You dig into the source and find the problem: an external API call. It works (slowly) most of the time. But sometimes the network glitches and it fails. What do you do? In this article, José Manuel shows us several techniques for removing external API dependencies from our tests. https://www.honeybadger.io/blog/ruby-external-api-test/
Ruby 2.7's "pattern assignment" reads like a charm
[1, 2, 3, 4] in [first, second, *other] # Puts 1, 2, [3, 4] into variables called first, second and other!
Unlearn programming to learn Ruby
In most programming languages, the language is seen as an intermediary between the machine and the developer. In Ruby, the language is.. READ MORE
Noticed - Notifications for Rails apps
Noticed is a notifications library for Rails that allows you to easily deliver notifications to users via database, email, ActionCable, and other delivery methods. Check out Noticed on Github
Chaskiq 0.3.0 release 🎉
What has happened in the open source chat platform’s Chaskiq project during these 3 months? Version 0.3.0 is out! [more inside]
Ruby 3.0 changes autosplatting behaviour for procs
The behavior for autosplatting was inconsistent when an input is passed to procs with rest argument and keyword arguments vs when the same input is passed to procs with only rest argument. [more inside]
render_async 2.1.7 Lets You Retry Requests With Delay
Check out new features in the render_async 2.1.7 version! [more inside]
A visual guide to Webpacker
Navigate the world of Webpacker and webpack on Rails with confidence using this collection of mental maps. https://rossta.net/blog/visual-guide-to-webpacker.html
[Screencast] Apple Silicon Developer Transition Kit
First look at the upcoming Apple Silicon processor and what it will be like for us Ruby Developers. Honestly, I wish that it was a better experience. However, with macOS Big Sur being beta and the DTK not being the final consumer hardware, there’s still hope yet. https://www.driftingruby.com/episodes/apple-silicon-developer-transition-kit
API documentation with Swagger
Just published the new chapter of the API-only ruby on rails course: API documentation with Swagger [more inside]