Rails tips that dodge bugs
Practical Rails notes for apps that stay maintainable.
Heroku: deploy and migrate with one command
Johnny Rodgers
·
0 responses
·
rails, heroku
ActiveRecord: Use efficient queries for counting
Jon Tai
·
0 responses
·
ruby, rails, activerecord, sql
Create a Waving ColorSpace using ruby
Emad Elsaid
·
0 responses
·
ruby, rails, games
Push to Heroku from the correct branch
Murphy Randle
·
0 responses
·
heroku, git, branch
Access polymorphic_path inside a model in Rails
Marc Anguera Insa
·
0 responses
·
ruby, rails, hack, routing
Faster ActiveRecord Migrations Using change_table :bulk
Aaron Lasseigne
·
0 responses
·
ruby, rails, activerecord
FactoryGirlRails load sequence
Rafael Gumieri
·
0 responses
·
rails, factorygirl
Rake task to create ~/.pgpass based on heroku:config
Jeremy
·
0 responses
·
heroku, postgresql, rake
Stubing class constants with RSpec
Matjaz Muhic
·
0 responses
·
ruby, rails, rspec
Postgres, the Best Tool You're Already Using
Bhavin Javia
·
0 responses
·
rails, activerecord, postgres
Awesome Print config for Rails
cardsfanbob
·
0 responses
·
rails, awesome print
Monkeypatch ActiveRecord so .find_each goes in descending order by id
Jeremy Raines
·
0 responses
·
rails, activerecord
Check Status of Your Database Migrations
Rajeev N Bharshetty
·
0 responses
·
rails, tips, database, migrations
Wrap your migrations by exceptions tracker.
Alexandr Korsak
·
0 responses
·
ruby, rails
Auto run your rails migrations when switching branches
Rodrigo Kochenburger
·
0 responses
·
ruby, rails, git
Speed up Ack on a Rails project
Frederic Jean
·
0 responses
·
rails, ack
Unobtrusive Form Errors in Rails
Ryan Gasparini
·
0 responses
·
rails, forms, ux
Prevent private Gem being pushed to RubyGems (Bundler)
Marc Anguera Insa
·
0 responses
·
ruby, bundler, rails, gem
Find the locked version of Rails in all your projects
Benjamin Curtis
·
0 responses
·
rails, gems, security
what the !!
Hrvoje Šimić
·
0 responses
·
ruby, rails
Output objects in YAML format from Rails Console
Rob Volk
·
0 responses
·
ruby, rails
Update rails version in app
Bijendra
·
0 responses
·
rails, gems, bundle, update
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.