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.
I started to publish API-only ruby on rails course on duetcode.io. In this course, we will build a functional clone of Instapaper from scratch. The course targets the developers already familiar with rails tech stack and it also has a written format. It’s an ongoing course, and I’m planning to share new chapters weekly basis, today I posted the fourth chapter of the course. Let me know if you have any feedback about the course or the website in general.
🛣 “Roadmap Update” is a wonderfully written newsletter that will provide you with monthly updates on Solidus and its wide ecosystem. [more inside]
Redis in Ruby is a work in progress online book (3 chapters currently available) about building your own Redis, in Ruby, and learn a bunch of things along the way, tcp, sockets, syscalls, threads, processes, hashing algorithms we’ll touch on these and more. [more inside]
Let’s use some simple math and performance data to find our optimal worker count, based on the work waiting in the queue. [more inside]
Ruby on Rails development or Python, what sets them apart from each other? Knowing the difference can make a difference in your programming. While both have their strengths, a careful analysis can help you select the one most appropriate for your development needs. https://www.botreetechnologies.com/blog/ruby-on-rails-vs-python
Ever wondered how to implement end-to-end encryption in a server-side-rendered app? In this post, I explain how we did it in a production app and give an example for a user-to-user messaging system that encrypts and decrypts messages on the client via Stimulus and OpenPGP.
Soft delete is a way where users can mark a record as no longer needed, but the data is retained. https://www.driftingruby.com/episodes/soft-delete-with-discard
Learn more about how to install mariadb on Ubuntu and connect ruby on rails? https://www.botreetechnologies.com/blog/how-to-install-mariadb-on-ubuntu-14-04-lts-and-connect-ruby-on-rails
Following on my 6 months old PR to bring CTE support to Rails out of the box I released the code as a Ruby gem https://github.com/vlado/activerecord-cte.
It uses Arel in the background and is database agnostic. Always returns
ActiveRecord::Relation so it is easy to chain, cache, count, aggregate, …
A deep dive into
extend self.. [more inside]
An ongoing series of posts analyzing the hey.com website front-end code, trying to find the goodies that will possibly get extracted into future Rails, Turbolinks and Stimulus framework releases. An examination of the How did they do it? question. [more inside]