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
Post Preview
Note: Only the first pargraph is shown on the front page and overly long paragraphs may be broken up.
Tap on your Ruby objects!
I just wrote a post to introduce some powerful features of the tapping_device gem and how you can use them to speed up the debugging process!
PyTorch made available for Rubyists
torch-rb, the new experimental LibTorch’s bindings for Ruby, is another step to make Ruby a viable solution for Deep Learning applications.
whatson gem / library incl. rubyconf command line tool powered by event.db
Hello, I’ve updated the rubyconf command line tool (that’s packaged up in the whatson gem / library)
and powered by event.db (that is, the eventdb gem / library). Use $ rubyconf to print
out ongoing and upcoming ruby conferences & camps. Resulting in: [more inside]
Semaphore 2.0 now provides free CI/CD pipelines for open source organizations
Each open source organization receives unlimited CI/CD minutes for building public repositories on Linux, macOS or Docker. Read more →
Digging through the Ruby on Rails Whitepaper, 10 years later
10 years ago saw InfoEther publish a comprehensive white paper on Rails, a great ‘time capsule’. Check it out! https://dev.to/schwad/the-ruby-on-rails-whitepaper-past-rubies-288d
strings-inflection release
The strings-inflection helps you inflect English nouns and verbs. The algorithms that this gem uses are based on the analysis of 7,000 most frequently used nouns and 6,000 most used verbs in the English language. It also comes with its own templating to allow you creating more complex inflected sentences. Enjoy!
Ruby Conferences & Camps in 2020 - What's Upcoming? Anything Missing? Updates Welcome
Hello, I’ve updated the Ruby Conferences & Camps in 2020 - What’s Upcoming? page. Anything missing? Updates welcome, see data/conferences2020.yml @ planetruby/calendar. Cheers. Prost. PS: Note, you can subscribe to updates via the web feed in XML or JSON.
Sidekiq by Simple Example
A simple rails app demonstrating how to use Sidekiq for background jobs. https://gryffindor.in/blog/2019/11/28/sidekiq-by-example [more inside]
Choosing a Tech Stack Alternative - The Ups and Downs
Read about the attempts of not using Rails stack and the problems encountered https://www.toptal.com/ruby/choosing-a-tech-stack
Using Rubyfmt with Atom
Rubyfmt, the exciting project from @penelope_zone continues to grow by the day. I set out to hack together a way to get it running slick on Atom. I’m writing today to share those few steps so that you, too, can enjoy the magic of Rubyfmt on Atom! https://dev.to/schwad/using-rubyfmt-with-atom-2oa0
[Screencast] From jQuery to ES6
jQuery has been a great tool for many years, but we’ve seen a transition in the past years where applications have dropped jQuery and moved to vanilla javascript. In this episode, we look at some common jQuery examples and the ES6 equivalencies. https://www.driftingruby.com/episodes/from-jquery-to-es6
[EN] To mock, or not to mock, that is the question
The following checklist is aimed to help you protect yourself from improper usage of mocks and stubs. You may find yourself willing to add/remove items from the list – that is totally OK, just make sure that you stick to your final version.
From ActiveRecord Callbacks to Publish/Subscribe Pattern and Event-driven Design
Imagine that you are working on a large legacy application that also contains the dreaded ActiveRecord callbacks in the models handling most of the business logic. At some point, and under a certain level complexity, the mess caused by that choice might become hard to keep under control, the risk of introducing bugs will increase and the teams(s) working on the application will be way less productive. That will most likely lead to an attempt to find a better way of designing the application. The problem, though, might be that the scope of the application is so huge that introducing any meaningful changes to the application will take weeks, if not months. [more inside]