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