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.
Write regular Ruby code without dependencies and deploy it from generated CloudFormation template - https://github.com/damir/modulator
A lovely duet of two GraphQL gems with their week and strong sides: https://email@example.com/rubys-graphql-beauty-and-the-beast-story-17c72592ab11
We’ll learn by doing, to add 2FA security feature to your user’s authentication API in ruby on rails. Here’s the Article
Yesterday I had to fix one of occurs-only-in-one-browser issues – so I ran VirtualBox, typed the address to my app into some legacy IE – localhost:9292 – and… it didn’t work. In this short blogpost is how I got it all to work together: https://blog.rebased.pl/2019/06/03/testing-local-app-in-virtualbox.html
trip.rb is a concurrent tracer that can pause, resume and alter code while it is being traced. The tracer yields control between two threads, typically the main thread and a thread that Trip creates. Under the hood, Trip uses
Thread#set_trace_func. It could be used to implement a debugger.
XDG is a great way to organize your program’s configuration, cache, and data. After ~7 years of inactivity the XDG gem is now under new stewardship. 🎉 With the 3.0.0 version, there is a new implementation and API that adheres to the XDG specification. If you need additional functionally beyond what the XDG specification provides then check out the companion Runcom gem. Enjoy!
.call(*args) => #new.call(*args) [more inside]
On this week’s episode, Chris is joined by Glenn Vanderburg, VP of Engineering at First.io, live from RailsConf. They discuss Glenn’s RailsConf talk, “The 30-Month Migration”, covering distributed data models, refactoring, and the wonders of postgres. They also discuss Glenn’s famous talk, “Real Software Engineering”, and what the term “software engineering” means within our communities. [more inside]
In this Article I’ll show you how to organize business classes in Ruby on Rails so your application can benefit from Bounded Contexts while still keep Rails conventions and best practices. Solution is also friendly for junior developers. [more inside]
Do you know the difference between ASCII & Unicode? https://www.rubyguides.com/2019/05/ruby-ascii-unicode/