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.
What does a typical day look like for a Rails developer? Here’s a time breakdown of what it really looks like. https://blog.planetargon.com/entries/a-day-in-the-life-of-an-agency-rails-developer
Come to have fun with us on June https://medium.com/paris-rb/paris-rb-conf-2018-2fcedcf1384f
simple_resource_controller is a simple and powerful tool for writing CRUD controllers.
Hello, I’ve added the Net::HTTP by Example / Net::HTTP Cheat Sheet by August Lilleaas et al to the Yuki & Moto Press Bookshelf. Free Online Books (and Booklets) about Ruby ‘n’ Friends in the Manuscripts format and built with Jekyll and Octobook themes. Happy reading. Cheers.
Rails to_sql method is a well known method for Ruby programmers but mostly junior developers may not be familiarized with it yet. It’s super helpful so it’s worth to mention it once again READ MORE
Tracking a transaction across several microservices is hard. However, thanks to OpenTracing, a vender-neutral tracing API, this is getting easier. I show how to add distributed tracing to a pair of Sinatra apps and view those traces in Jaeger, an opensource distributed tracing system.
A look at
to_model and how to use it with form objects in Rails: https://christoph.luppri.ch/articles/rails/routing-form-objects-with-rails/
An idea that allows passing arguments when inheriting, making it easier to implement clean DSLs.
If you ever tried ordering unique results you probably know that it’s not possible to make this in a simple query because ActiveRecord requires to explicitly select each column you want to operate on. I want to know how to do this
by Kieran Eglin [more inside]
Dealing with all the various classes that store times and dates in Rails can be confusing, and even experienced developers get tripped up when comparing timestamps that look the same but actually aren’t. This short post will show you how to code defensively when testing and comparing times.
Hello, I’ve added the Hoe Developer’s Guide - Build, Package and Publish Gems with Rake Tasks - Ready-to-Use Build Scripts by Ryan Davis et al to the Yuki & Moto Press Bookshelf. Free Online Books (and Booklets) about Ruby ‘n’ Friends in the Manuscripts format and built with Jekyll and Octobook themes. Happy reading. Cheers.
Since many years the ruby community asked to have branch coverage. That’s something that if you worked a little bit with JS frameworks you really missed. If you don’t miss it, you probably don’t know what is branch coverage and therefore you are in the right place. We have branch coverage now, and that’s great!
A null value is something different than false. It may be confusing especially for Ruby developers. Build a valid query and deal with null values right - show me this tip
Hello, I’ve added How I Start - Let’s Build a Ruby Gem Together! by Steve Klabnik to the Yuki & Moto Press Bookshelf. Free Online Books (and Booklets) about Ruby ‘n’ Friends in the Manuscripts format and built with Jekyll and Octobook themes. Happy reading. Cheers.