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.
Reaching 1.0: Just What is a Next-Generation Progressive Site Generator?
Bridgetown represents an evolution of thinking from previous generations of tools is this space, especially within the Ruby ecosystem. The pace of progress on the web never stands still, and neither will Bridgetown.
Ruby on Rails 7 - How to Use Hotwire to Collect User Profile Information
I wanted to test out Rails’ Hotwire features and see if I can migrate a feature like a user registration form with Devise to use Hotwire. [more inside]
The 6 Principles of Test Automation
Test automation allows developers to get continuous feedback and spot problems very early in the production cycle. Quick iteration results in improved design, better quality, and safer launches. [more inside]
Glimmer DSL for SWT Video Tutorial 6 - Hello, Label!
Desktop development is about 10 times simpler than web development. Learn it and you will become a better web developer as you transfer the simplicity of desktop development to the web! [more inside]
Mocking JavaScript Requests During Tests
When we run tests, we don’t want to hit external services in most cases, so our tests don’t depend on external services and are more stable. We can use gems like VCR or WebMock to stub the requests that are done by the Rails application, but when the request is initiated by the JavaScript code… that’s a different story. [more inside]
Rails 7 allows permitting numeric params
Rails 7 eliminates the issue of permitting nested hash. Now required attributes can be permitted by calling the permit method directly on the parent hash. [more inside]
Hanami v2.0.0.alpha7
Concrete slice classes, consistent action and view class structures.
Inline documentation - The secret habit of successful devs | Hanami Mastery #17
Everyone would love to have a secret power. A skill that makes you a hero. There is no one such skill, but in this episode, I’ll talk about inline documentation - a great skill that can make you a better developer. [more inside]
Rubber Duck Dev Show Episode 32 | Reviewing the OWASP Top 5
Hear two rubyists discuss the top 5 web application security risks from OWASP:
Rails 7 Hotwire : a tutorial
Hotwire is the new functionality of Rails that gained momentum lastly. This tutorial is a practical introduction to each feature. [more inside]
[Screencast] Remote Development
Having a fast and expensive computer to do daily development is a luxury. Sometimes, we may be in a position where we are just getting started with programming and the budget is very small. In this episode we look at a very moderately priced Chromebook and explore how we can make it into a viable development machine. https://www.driftingruby.com/episodes/remote-development
How to Introduce Testing in Teams and Companies
Testing is a fundamental part of a quality-driven culture, a prerequisite for avoiding the two biggest risks for a company developing products: the risk of doing the wrong thing, and the risk of doing it too late. [more inside]
Being a backend developer
I wrote a small post about how I feel being a backend developer. Bit off topic but posting it here because I am a RubyOnRails developer. [more inside]
Async Ruby - Ruby Rogues podcast
This podcast episode covers the topic of “async ruby” from a new angle. We talked about a lot of the things that weren’t mentioned so far: [more inside]
[book] I Love Ruby updated
Updated Structs & OpenStruct, added sections Rubocop and running Ruby in Jupyter in my book I Love Ruby. Get it here.
A Wordle decoder that guesses your guesses.
It’s all in Ruby and it’s open source
Building a restricted slug validator
Here’s how to build a custom slug paths validator.
Glimmer Klondike Solitaire 1.1.0
For those who like the Klondike Solitaire card game (aka Patience), Glimmer Klondike Solitaire 1.1.0 has been released with a couple of fixes. [more inside]
CodeTips#1: Exploring Hashes in Ruby
In this article we will be exploring 3 (+ one bonus) methods to retrieve values from hashes in Ruby and a few of it’s uses. [more inside]
How to rename a Rails app
Here are the instructions to rename an existing Rails app. Nothing really risky, it should be a set-and-forget thing. [more inside]
Glimmer DSL for SWT Video Tutorial 5 - Hello, File Dialog!
The Glimmer DSL for SWT (JRuby Desktop Development GUI Framework) Video Tutorial 5 is out! It walks software engineers through Hello, File Dialog! [more inside]