Rails tips that dodge bugs
Practical Rails notes for apps that stay maintainable.
Prefetch associations for existing model instances
Michael Schaefermeyer
·
0 responses
·
rails, activerecord, performance, prefetching
Using PostgreSQL's hstore with Rails 4: boolean properties, too!
Scott M
·
0 responses
·
rails, postgres, hstore
Getting Empirical About Complexity in Templates
James Martin
·
0 responses
·
ruby, rails, metrics, refactoring
Asset Pipeline helpers
shinn
·
1 response
·
rails, beginner, helpers, asset-pipeline
Rails: Why are my JS views rendering with my HTML layout wrapped around them?
David Somers
·
0 responses
·
ruby, rails, haml, templates
ApplicationController methods/helpers from rspec
Cezar Halmagean
·
0 responses
·
rails, rspec
How to install rmagick (2.13.2) without an error?
Sebastian Muszyński
·
0 responses
·
rails, rmagick, error
Automatically add a class to the body tag
Michel Billard
·
0 responses
·
css, rails, html
Ruby on Rails - no method error when association is nil
Chris Hale
·
1 response
·
rails, exceptions, method, error
Rails with bcrypt-ruby makes encryption ONE LINE
Roger Lam
·
0 responses
·
ruby, rails, cipher, algorithm
Debian-like init.d script for Unicorn
Bruno Coimbra
·
0 responses
·
shell, rails, unicorn, init.d
Run seeds.rb file only against Development.
Sergio Tapia Gutierrez
·
2 responses
·
rails, seed, webdev
Validating uniqueness on HABTM associations
Fernando Doglio
·
0 responses
·
rails, rails3
Determining Image Contrast
Darren
·
0 responses
·
imagemagick, rails, paperclip
Simple fuzzy search algorithm similar to sublimeText
Emad Elsaid
·
0 responses
·
ruby, rails, search, sublimetext
Rails link helpers, Twitter Bootstrap, and HAML
Lee
·
0 responses
·
rails, haml, twitter bootstrap
Create a Rails app without ActiveRecord
Jason Humphries
·
0 responses
·
ruby, rails, activerecord, mongodb
Layout "hell" in Rails
Bryan Mikaelian
·
1 response
·
rails, haml, layouts, organization
Connect ActiveRecord via SSH Tunnel
Dave Baker
·
0 responses
·
ruby, activerecord, ssh, devops
Rails 4 Scopes and as_json response
joris
·
3 responses
·
rails, scope, rails 4, model namespace
Rails Destroy
Maynard Cabalitan
·
1 response
·
rails, rollback
Better Country Selectors in Rails
Daniel P. Clark
·
2 responses
·
rails, dropdown, search
How to integrate WebComponents(And other assets) into Rails 4
Fabián Heredia Montiel
·
0 responses
·
ruby, rails, bower, webcomponents
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.