Ruby tips you wish you knew
Small Ruby tricks that make scripts and gems feel nicer.
Create a Waving ColorSpace using ruby
Emad Elsaid
·
0 responses
·
ruby, rails, games
ActiveRecord: Use efficient queries for counting
Jon Tai
·
0 responses
·
ruby, rails, activerecord, sql
Use underscore to get last returned value in irb.
Andrey Savelyev
·
0 responses
·
ruby, tip, irb
Formatting Collections Of Objects With SimpleDelegator
David Elliott
·
0 responses
·
ruby, links, presenters
Ruby - Install Gems for all version rails
Noval Agung Prayogo
·
0 responses
·
ruby, gems, rvm
wrap a sinatra app around a static website
Charles Hoffman
·
0 responses
·
ruby, web, sinatra
Faster ActiveRecord Migrations Using change_table :bulk
Aaron Lasseigne
·
0 responses
·
ruby, rails, activerecord
Facebook group hall of fame script
Emad Elsaid
·
0 responses
·
ruby, facebook
Rake task to create ~/.pgpass based on heroku:config
Jeremy
·
0 responses
·
heroku, postgresql, rake
Load fixtures on the console
Ian Vaughan
·
0 responses
·
ruby, console, fixtures, factory_girl
Simplified conditions for Array or any Enumerable objects
Jiren Patel
·
0 responses
·
ruby, array, enumerable, conditions
Stubing class constants with RSpec
Matjaz Muhic
·
0 responses
·
ruby, rails, rspec
Logging to Multiple Destinations, Ruby
Chris Lowder
·
0 responses
·
ruby, logging
Concurrent calculations in Ruby, with Celluloid
Jeremy Raines
·
1 response
·
ruby, celluloid
Wrap your migrations by exceptions tracker.
Alexandr Korsak
·
0 responses
·
ruby, rails
Bildchen
glaszig
·
0 responses
·
ruby, library, favicon
Auto run your rails migrations when switching branches
Rodrigo Kochenburger
·
0 responses
·
ruby, rails, git
Randomise variables for testing
Adam Bird
·
0 responses
·
ruby, test, spec
Prevent private Gem being pushed to RubyGems (Bundler)
Marc Anguera Insa
·
0 responses
·
ruby, bundler, rails, gem
what the !!
Hrvoje Šimić
·
0 responses
·
ruby, rails
Output objects in YAML format from Rails Console
Rob Volk
·
0 responses
·
ruby, rails
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.