Ruby tips you wish you knew
Small Ruby tricks that make scripts and gems feel nicer.
Extract key/value pairs from a hash in ruby using an array of keys.
Mike Kelley
·
2 responses
·
ruby, keys, hash, array
Require all files within a directory in Ruby
Andy Kifer
·
0 responses
·
ruby, rails
Easily change parts of a URI
Eric Allam
·
0 responses
·
ruby, url, query, uri
Setup Oracle instant client and ruby oci8 gem on Mac
Ismail Dhorat
·
7 responses
·
ruby, oracle, oci
Log to stdout and a file at the same time
Łukasz Korecki
·
3 responses
·
ruby, logging, logger, tee
Create .ruby-version and .ruby-gemset files using RVM
Dwight Scott
·
0 responses
·
ruby, rails, rvm, rvmrc
Ruby: make plain text links clickable
Michael Kohl
·
2 responses
·
ruby, regex, rails, uri
Case statement for Rails Enum
wojtek
·
1 response
·
ruby, rails, rails 4.1
Add a second disk to system using vagrant
Leif Gensert
·
0 responses
·
ruby, vagrant
Invoke a rake task from another task
Felipe Elias Philipp
·
2 responses
·
ruby, rake
Four types of ruby closures block, Proc, lambda and method
nhm tanveer hossain khan (hasan)
·
3 responses
·
ruby, closures, block, procs
Take control of your Heroku Git repository
Dharampal H S
·
2 responses
·
ruby, rails, heroku, deployment
Forget counter cache for many-to-many associations in Rails
João Marcelo Oliveira de Souza
·
0 responses
·
ruby, rails, active record, counter cache
Share your chef's knife.rb config with vagrant
Thomas Massmann
·
2 responses
·
ruby, vagrant, chef
Linkedin OAuth2 Login for Rails
Troy Martin
·
4 responses
·
rails, ruby, linkedin, oauth2
Multiple file uploads with carrierwave
Daniel Alejandro Gaytán Valencia
·
0 responses
·
ruby, rails, carrierwave, serialize
Monterey install Ruby 2.3.1
Dinesh Vasudevan
·
0 responses
·
ruby, openssl, monterey
Secure Tokens From Rails 5 to Rails 4.x and 3.x
Roberto Miranda
·
2 responses
·
ruby, rails, gem, backport
Completely Removing RVM
Michael Koby
·
0 responses
·
ruby, rvm
Dockerfile for RVM
Marco da Silva
·
3 responses
·
ruby, rvm, dockerfile, docker
Integration Testing with rspec and devise
Esteban Sanín Ángel
·
0 responses
·
ruby, tdd, rails, bdd
Enable GZIP support on Heroku
Luiz Fonseca
·
2 responses
·
ruby, css, rails, heroku
Handling Exceptions in your Rails Application
Rajeev N Bharshetty
·
3 responses
·
ruby, rails, exceptions, tips
Sinatra and the JSON data
Thomas Riboulet
·
1 response
·
ruby, json, sinatra
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.