Rails tips that dodge bugs
Practical Rails notes for apps that stay maintainable.
OR queries with arrays as arguments in Rails 4
Rafał Cieślak
·
9 responses
·
rails, activerecord, sql, arel
Nested form and Rails 4
Mikhail Nikalyukin
·
11 responses
·
rails, nested attributes, nested_form, rails4
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 Heroku npm cache
Ivan Erceg
·
8 responses
·
heroku, node, cache, npm
Clean Rails Install on OS X Mountain Lion: Homebrew + RVM + Ruby 1.9.3 + Git + MySQL
Jonathan Nelson
·
10 responses
·
ruby, mysql, rvm, homebrew
Print the current page's html source in Capybara
Daniel Schmidt
·
1 response
·
rails, cucumber, capybara
Nested forms with ActiveModel::Model objects
Sam Slotsky
·
13 responses
·
rails, activemodel, has_many, nested forms
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
Web fonts and Rails' Asset Pipeline
Dale Sande
·
0 responses
·
rails, sass, asset pipeline
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
Free background jobs on heroku
dommmel
·
17 responses
·
rails, heroku, unicorn, resque
Simple Export to CSV with Postgres
Tom Milewski
·
6 responses
·
heroku, postgres, database, csv
Validate URLs in Rails
Lee Machin
·
6 responses
·
ruby, rails, url validation
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
RSpec Test Results in HTML
Jonah
·
2 responses
·
ruby, rails, html, rspec
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.