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.
Ruby 2.7 deprecates automatic conversion from a hash to keyword arguments in preparation for real keyword arguments in Ruby 3.0 [more inside]
Ruby and Ruby on Rails tricks from, dot files, operators, bundling, StimulusJS and more. https://www.driftingruby.com/episodes/ruby-on-rails-tips-and-tricks
Quick update on the very few things that are needed to get started with Capybara and system tests, using Minitest. [more inside]
I made a quick list of all the plugins I use for Ruby and Rails development. https://www.mskog.com/posts/visual-studio-code-plugins-for-ruby/
“Every large consumer-facing #rails app I have worked on has on and off again spikes of cookie overflow issues. It is made infinitely more complex with multiple front end apps. I will be digging into this more over the next couple days.” - Dan Mayer @danmayer
https://github.com/sebyx07/stats-lite Rails engine to server resource information. Can be also standalone and extendable
I just released the latest version of HexaPDF, the versatile PDF library for Ruby, see https://hexapdf.gettalong.org/news/2019/hexapdf-0-10-0-and-new-website.html for details!
If you’re working on an old code base that has had no style listing rules in place, received wisdom is that you start by running
rubocop --auto-gen-config and revelling in the fact that subsequent runs of
rubocop will run green. After years of following that advice myself, I’ve come to believe it’s wrong. The first step in my path to a better relationship between RuboCop and legacy code is now online: https://medium.com/@scottm/rubocop-in-legacy-projects-part-1-todos-and-todonts-877ace9f23b7