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.
A story about digging to find we have a huge memory consumption while parsing and processing CSV. We will see that the issue was not in CSV parsing but in dependencies and the way they were used. https://medium.com/appaloosa-store-engineering/ruby-memory-activerecord-and-draper-64f06abeeb34
Kinit -– A gem to make sure sanity of your Gemfile is always in check.
I tried to find out if the new Ruby 2.6 JIT (from preview3) can help the performance when generating invoices using InvoicePrinter and Prawn. Here is the benchmark.
Some time ago I was working together with Szymon on one of our clients web application. We used copy of products catalog coming from production server on our development machines. What we were lacking were product photos, causing application layout to look poorly and making any CSS job hard. We tried to find a smart solution for that case.
This is the first post of a series I made on how to create essential data structures from scratch. So far the series covers singly linked lists, doubly linked lists, circular linked lists, stacks, queues, hash tables, sets, and binary trees (and there more coming soon!). Each data structure is covered in a brief post that explains in a casual tone the core aspects of each data structure. I hope you enjoy them!
I am trying Stimulus.js lately in Rails and I think it fits nicely the server-rendered HTML + Turbolinks use case. This is my first look on Stimulus.js.
A new Ruby version is almost here! What new & exciting features does it come with? Find out in this new article: https://www.rubyguides.com/2018/11/ruby-2-6-new-features/
Eventide makes service development as approachable as Rails made web development in 2006, and seeks to democratize this as-yet esoteric subject that, at the moment, tends to be calcified under a thick layer of popular myths and fads. https://medium.com/eventide-project/six-great-reasons-to-build-service-architectures-in-ruby-with-eventide-2f823bd51402
ScriptCore based on Shopify’s ESS, it’s a mruby sandbox to run untrusted codes (usually written by users), ESS powered Shopify Scripts, and ScriptCore wrapping ESS (with some modifications) to easy to integrate with Rails apps, and I took a video to show the dummy app: https://twitter.com/jasl9187/status/1061674632380481536
My first challenge as an intern: https://blog.codeminer42.com/migrating-from-paperclip-to-activestorage-b37ef187fb17
Any VIM users or haters here?🤔 Share your thoughts in the article’s comments!🗨️ https://driggl.com/blog/a/should-you-start-using-vim [more inside]
Elixir has had my attention for awhile now and my interest in the language and community hasn’t wavered. ElixirConf offered me an opportunity to translate that interest into action. As an experienced Rubyist, I am pleased with my development experience, community support, and the capabilities of Ruby. Elixir offers these same benefits and adds features such as concurrency, fault tolerance, and speed to the mix. [more inside]
🦇 Laundry day at the Batcave. Testing asynchronous threads in Ruby explained. https://blog.appsignal.com/2018/11/06/testing-asyncronous-threads-in-ruby.html
Passenger 5.3.6 has been released. Most notably is the smart spawning fix, but it also includes fixes for frustrating warnings on macOS >= High Sierra, and gemset detection on RVM 1.29: https://blog.phusion.nl/2018/11/06/passenger-5-3-6-fixes-smart-spawning/
We get to contribute to open source software at Phusion, like through maintaining the frontapp gem. Initially scratching our own itch, outside contributions make working on it really worth the while: https://blog.phusion.nl/2018/10/31/os-time-working-on-open-source-in-the-boss-time/