RubyFlow The Ruby and Rails community linklog

×

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

You can use basic HTML markup (e.g. <a>) or Markdown.
Note that your post may be edited to suit the format of the site.

As you are not logged in, you will be
directed via GitHub to signup or sign in

Post Preview

Note: Only the first pargraph is shown on the front page and overly long paragraphs may be broken up.

Replacing system tests with unit tests

It’s amusing and affirming to me that system testing (in Rails) has been declared a failure. I could’ve told you that years ago! I’ve spent much of the past ten years working with test suites that are slow, brittle, and ultimately uninformative—almost always because they’re overly reliant on testing end-to-end. [more inside]

Puts Debuggerer 1.0.0 Includes Invoked Class/Method Name

Puts Debuggerer finally goes version 1.0.0, and it now has a very helpful new feature: printing the class name and method name as part of pd printouts. For those unfamiliar with Puts Debuggerer, the project was inspired by a blog post by Aaron Patterson titled “I am a puts debuggerer”, which jokingly borrows from the wording of the comedy movie Dumb and Dumberer, turning debugger to “debuggerer”. The Puts Debuggerer Ruby gem aimed at automating most of the suggestions in that blog post. https://andymaleh.blogspot.com/2024/05/puts-debuggerer-100-includes-invoked.html

Similar gem: https://github.com/olegantonyan/super_awesome_print/ - just a stup…

Gemfile of dreams: the libraries we use to build Rails apps

From time immemorial, the Evil Martians team has worked on dozens of Ruby on Rails projects. Naturally, this involves a lot of Ruby gems. Some reflect our desire to be cutting-edge and use modern tools (or build our own!) Other gems are so flexible they’ve been used in most of our projects. Our development philosophies, programming habits, (and soul) are within this universe of Martian gems. So what would it look like if they were somehow able to converge into one gemfile—the ideal Martian Gemfile, the toolbox of the extraterrestrial Rails engineer? Gemfile of dreams: the libraries we use to build Rails apps

Glimmer DSL for XML 1.4.0 HTML To Glimmer Converter

Glimmer DSL for XML (& HTML) 1.4.0 has been released! It includes a new HTML To Glimmer Converter that can automatically convert any legacy HTML code into Glimmer DSL Ruby code. Glimmer DSL for Web (Ruby in the Browser Web Frontend Framework) has been upgraded to include both Glimmer DSL for XML 1.4.0 and Glimmer DSL for CSS 1.4.0. https://andymaleh.blogspot.com/2024/05/glimmer-dsl-for-xml-140-html-to-glimmer.html

Loading older posts