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.
Are you working on Ruby on Rails Applications that are constantly on fire, overwhelmed by technical debt? [more inside]
Kubernetes is a popular way to deploy web services and applications using containers. In this, the second of a two-part series, Geshan finishes his step-by-step tutorial for getting up and running with Rails and k8s. https://www.honeybadger.io/blog/rails-kubernetes-cluster-2/
In this post, we will add AppSignal to a Ruby on Rails application to help give clear insights into application behavior. [more inside]
Today, right now, right this very minute, is the absolute best time to be a fullstack Ruby/web developer! And tomorrow will be even better.
Hear two rubyists discuss what is DevOps? https://www.rubberduckdevshow.com/episodes/21-what-is-devops/
Finding a convenient and stressless way to deploy Rails apps on Kubernetes with Kuby: https://evilmartians.com/chronicles/kubing-rails-stressless-kubernetes-deployments-with-kuby
command_mapper is a new library for mapping in the options and arguments of external CLI commands to Ruby classes. This allows you to execute and interact with commands as if they were classes. command_mapper also provides a mini-type system for validating/formatting values and prevents any option or command injection for you. [more inside]
validates_by_schema automatically adds ActiveRecord validations based on your database schema column types and limits to keep your code DRY. The new release supports uniqueness validations that are generated from single or multi-column database indices.
The article explains Rails 7
These two methods are added for tracking the changes for the belongs_to association.
Polyphony is a library for writing highly concurrent Ruby apps. Polyphony harnesses Ruby fibers and a powerful io_uring-based I/O runtime to provide a solid foundation for building high-performance concurrent Ruby apps, while letting developers use stock Ruby core and stdlib classes and APIs. In order for provide a solid developer experience, Polyphony reimplements different parts of the Ruby runtime functionality, which are adjusted so developers will see a consistent and reliable behaviour. My latest article discusses the problem of signal handling in concurrent Ruby apps.
Hear two rubyists discuss different ways to start adding tests to your project: https://www.rubberduckdevshow.com/episodes/20-how-do-you-start-testing/
Despite Ruby’s highly expressive nature, all testing toolkits written in Ruby are either imperative (e.g. using
expect), thus losing expressiveness and focusing software engineers on the wrong thing, or mix non-Ruby code with Ruby (e.g. cucumber & gherkin), thus missing out on the simplicity of Ruby. Glimmer DSL for Specification aims to provide a simple minimalistic and noun-based declarative syntax. [more inside]
AWS Lambda lets you run your code without worrying about the nuts and bolts of server management or scaling. You might even say it’s “serverless.” In this article, Jeffrey Morhous shows us how to get started writing Lambda functions in Ruby. https://www.honeybadger.io/blog/aws-lambda-functions-ruby/
Hello, in the ongoing pixel (art) programming series - yes, in ruby - I put together new samples. Let’s welcome Punks, The William Shakespeare Edition - Super-Rare Never Before-Seen (Pixel Punk) Portraits of the World’s Greatest Writer - Anno 2021. Yes, you can. (Re)generate super-rare never-before seen (pixel punk) portraits of the world’s greatest writer that you own 100% forever in your own home - see the genius/shakespeare script. Cheers. Prost.