Ruby tips you wish you knew
Small Ruby tricks that make scripts and gems feel nicer.
Wishing you a multilingual Christmas
Anthony Levings
·
13 responses
·
ruby, php, python, perl
Don't be a jerk, organize your code.
Nicholas Jordon
·
9 responses
·
jquery, ruby, php, python
Dynamic RSpec Tests
Ted Nielsen
·
1 response
·
ruby, rails, bdd, unit testing
`require': cannot load such file -- mkmf (LoadError)
momoto
·
0 responses
·
ruby, ubuntu
Quick Tip: Integrating Git, Jenkins & Capistrano for Continous Deploy
Leandro Guida
·
1 response
·
ruby, test, capistrano, jenkins
Multi stage environments for your Rails apps with Ansible
Verónica Rebagliatte
·
0 responses
·
ruby, rails, capistrano, deploy
Convert Active Record array to indexed hash
James Huynh
·
0 responses
·
ruby, rails, active record
Using a regular expression to validate a field in a model and a segment in a route
Brad Fults
·
0 responses
·
ruby, rails, validation, routes
Faster way to reset database entries
Alif Rachmawadi
·
2 responses
·
ruby, rails, activerecord, database
Gemfile and gemspec
Kirill Maksimov
·
0 responses
·
ruby, bundler, rubygems, gemfile
Remove non printable characters in a ruby string
Hélder Vasconcelos
·
0 responses
·
ruby, string, regexp
Ruby each_slice with index
Andrey Garbuz
·
0 responses
·
ruby, enumerable, each_slice, with_index
A faster bundle install
Damian Le Nouaille
·
1 response
·
ruby, gem, fast, bundle
Delete all Redis keys with Redis-rb
Florian LAMACHE
·
0 responses
·
ruby, redis
redirect to canonical host in Rails 4
dommmel
·
3 responses
·
ruby, rails, seo, redirect
MySQL 5.6 doesn't accept empty strings on numerical fields
Nuno Costa
·
3 responses
·
ruby, mysql, rails
Using rbenv with fish - the right way
Attila Györffy
·
2 responses
·
ruby, fish, homebrew, rbenv
Rename a method in Ruby
Kostas Karachalios
·
0 responses
·
ruby, metaprogramming
Ruby: automatic get and set methods
Mariz Melo
·
3 responses
·
ruby, oop
Make a painless web API in Ruby
Colin Mattson
·
2 responses
·
ruby, rails, rest, api
Install Ruby Enterprise Edition 1.8.7 in OS X Mountain Lion
Olly Smith
·
2 responses
·
ruby, os x, mountain lion, ree
Chain Rails scopes with OR
Nathan Hopkins
·
1 response
·
ruby, rails
Devise redirect AJAX request when session timed out(timeoutable module)
Mikhail Nikalyukin
·
1 response
·
ruby, rails, devise, ajax
Command-line AirPlay video client for AppleTV
Tomohiro TAIRA
·
3 responses
·
ruby, shell, rubygems, osx
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.