Ruby tips you wish you knew
Small Ruby tricks that make scripts and gems feel nicer.
Lookahead and Lookbehind regex
Adrian Gonzalez
·
0 responses
·
ruby, regex, regular expressions, pattern matching
Get a particular key value from json in ruby
Sandeep Kumar
·
0 responses
·
ruby, json, key value
RSpec: allow vs expect
Vu Manh Cuong
·
1 response
·
ruby, rails, expect, allow
Generate only the binstubs that your project needs
Mislav Marohnić
·
7 responses
·
ruby, bundler, rails, binstubs
Faster page loads with Turbolinks
Rico Sta. Cruz
·
4 responses
·
ruby, rails, javascript, turbolinks
Mixing text and variables with HAML
Javier Cuevas
·
0 responses
·
ruby, rails, haml
Clean Rails Install on OS X Mountain Lion: Homebrew + RVM + Ruby 1.9.3 + Git + MySQL
Jonathan Nelson
·
10 responses
·
ruby, mysql, rvm, homebrew
Effortless Two-Factor Authentication in Rails
Roberto Miranda
·
3 responses
·
ruby, rubygems, tag, opensource
Nested Set Model: the best approach to deal with hierarchical data
Álvaro
·
2 responses
·
ruby, mysql, rails, sql
Validating REST queries with Rails
Ben Woodall
·
2 responses
·
ruby, rails
pg_search with eager load on searchable association
Kevin
·
0 responses
·
rails, ruby, pg_search
Speed up Travis-CI build preparation time by 800%
Michał Czyż
·
5 responses
·
ruby, rails, ci, travis-ci
Rails, Twitter Bootstrap and "Disabled" links/buttons
Vladimir Reshetnikov
·
6 responses
·
ruby, rails, twitter, bootstrap
Validate URLs in Rails
Lee Machin
·
6 responses
·
ruby, rails, url validation
pocket-octopress for parsing pocket links to posts
Philipp
·
0 responses
·
ruby, octopress, links, pocket
Cleanup RVM
Anton Kalyaev
·
3 responses
·
rvm, gemset, cleanup
How to display action text when content contains the broken image
Kevin
·
0 responses
·
ruby, ruby on rails
Writing Custom Tasks for Capistrano 3
Tácio Nery
·
1 response
·
ruby, rails, capistrano, rake
Make bundler crazy fast
dickeyxxx
·
8 responses
·
ruby, bundler
SOAP in Ruby with Savon 2 and nested attributes
Martin Naumann
·
6 responses
·
ruby, soap, nested attributes, martin-n
RSpec Test Results in HTML
Jonah
·
2 responses
·
ruby, rails, html, rspec
Configure the Vagrant login user during provisioning using the Shell provider.
Mike Hall
·
5 responses
·
ruby, shell, vagrant
Pass the database pwd to Rails with an environment variable
Felix Holmgren
·
2 responses
·
ruby, rails, apache, capistrano
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.