Ruby tips you wish you knew
Small Ruby tricks that make scripts and gems feel nicer.
Making a task multi-threaded using Queue in Ruby
Will Spitzer
·
0 responses
·
ruby, concurrency, threads, queue
Mongoid: Remove unnecessary properties from documents
Maciej Smoliński
·
2 responses
·
ruby, mongodb, type, mongoid
Sandboxing Ruby
Félix Saparelli
·
4 responses
·
ruby, jruby, sandbox
Shell alias to stop writing `bundle exec`
Rafaël Blais Masson
·
2 responses
·
ruby, bundler, shell
Rails - Internal Requests
James Brooks
·
5 responses
·
ruby, rails, rack, request
Cache your partials, not the other way around.
Kamil Tusznio
·
4 responses
·
ruby, rails, caching, jbuilder
Using Bower with Compass
Rob Wierzbowski
·
0 responses
·
ruby, compass, grunt, yeoman
Create Break Points in Rails with Pry
JD Isaacks
·
3 responses
·
ruby, rails, debugging, pry
Add a confirmation step to your rake tasks
Michel Billard
·
2 responses
·
rails, rake, confirmation
Fixing wrong event names in Mixpanel
David Hrachový
·
1 response
·
ruby, timezones, mixpanel
Edit user without password in active admin
Jan Dudulski
·
4 responses
·
ruby, rails, activeadmin, active_admin
Resize image to fill or to fit depending on orientation with CarrierWave and RMagick
Javier Cuevas
·
1 response
·
ruby, rails, carrierwave, rmagick
Using bundler with rbenv & homebrew
Eugeniy Belyaev
·
0 responses
·
ruby, bundler, rbenv
Using Chef's remote_file with GitHub raw content
Mike Fiedler
·
1 response
·
ruby, chef, remote_file, github
Calculate your age in years, days, hours, minutes, seconds in ruby
Emad Elsaid
·
0 responses
·
ruby, rails, script, code
Using Code Climate's new test reporter together with Coveralls and SimpleCov's HTML Formatter
Wei-Meng Lee
·
2 responses
·
ruby, rails, testing, simplecov
jQuery File Upload + Rails + CarrierWave Application Example
Christopher Fernández
·
0 responses
·
ruby, rails, file, carrierwave
Create Break Points in Rails with Passenger Phusion, Pry, Pry Remote
Bartłomiej Danek
·
1 response
·
ruby, rails, debugging, nginx
Use Pry instead of irb in rails console
Pavel Pravosud
·
0 responses
·
ruby, rails, console, irb
Ruby: reading, parsing and forwarding large JSON files in small chunks (i.e. streaming)
coconup
·
1 response
·
ruby, json, stream, io
Upload and download files in Sinatra
Bohdan Schepansky
·
0 responses
·
ruby, sinatra
Rails 'devise' alternative: Password-less (2FA) & Database-less User Sign-in/Sign-up Using One-Time-Password in 2 Minutes
Khor
·
0 responses
·
rails, ruby, user management, 2fa
Fixing bundler issues like "git@github.com:... is not checked out. Please run `bundle install`"
Martin Naumann
·
0 responses
·
ruby, bundler, gem, rvm
Sponsored by #native_company# — Learn More
#native_title#
#native_desc#
Coderwall Dev Community
Explore the all-time favorite tutorials, design patterns and engineering guides that thousands of readers keep sharing and coming back to, year after year.
These proven techniques, reusable code samples, programming tips and vibe coding habits earned their place through steady views and member likes.
Each entry here is still useful today, covering programming languages, frameworks and workflows that stay relevant long after they were first published.
Whether you're new to a tech stack or an experienced engineer refreshing your skills, start with the most useful tips our dev community members recommend and build on solid, well-tested coding knowledge.