Popular Active Record Programming Tips
Rails - filter using join model on has_many through
James Brooks
·
9 responses
·
ruby, rails, active record, merge
Rails 4 & the PostgreSQL Array data type
Stuart Liston
·
11 responses
·
active record, postgres, array, postgresql
Codeigniter Active Record - on duplicate key update
Gary Garside
·
2 responses
·
php, mysql, active record, codeigniter
Forget counter cache for many-to-many associations in Rails
João Marcelo Oliveira de Souza
·
0 responses
·
ruby, rails, active record, counter cache
Guard + Spork on Rails 4 with RSpec and Cucumber
Job van der Voort
·
7 responses
·
rails, active record, guard, cucumber
Convert Active Record array to indexed hash
James Huynh
·
0 responses
·
ruby, rails, active record
Rails, ActiveRecord, and PG::NotNullViolation
Ava Jarvis
·
1 response
·
mysql, rails, active record, postgresql
iActiveRecord - ObjectiveC wrapper on sqlite3
AlexDenisov
·
0 responses
·
ios, active record, sqlite, objective c
Scope Sequences in ActiveRecord
Austin Lin
·
0 responses
·
ruby, rails, active record
Avoiding ActiveRecord close deprecation warning on Sinatra app
Rafael Felix
·
0 responses
·
active record, sinatra, connection, deprecation
Active Record Models not tied to the DB
Charles Butler
·
0 responses
·
rails, active record, fake a database
Serializing ActiveRecord scopes
Marcin Naglik
·
0 responses
·
rails, active record
Rails - filter using join model on has_many through
James Brooks
·
0 responses
·
ruby, rails, active record, merge
Ensuring Data Integrity with Ruby on Rails
Tu Hoang
·
0 responses
·
rails, active record, validation, data integrity
Activerecords for Javascript
Nikos Zinas
·
0 responses
·
mvc, active record, javascript
Active Record migration types
Jeremy Bertrand
·
0 responses
·
rails, active record, migration, types
Displaying all 16 tips
Recent Activity
Forget counter cache for many-to-many associations in Rails
João Marcelo Oliveira de Souza
·
ruby, rails, active record, counter cache
Rails, ActiveRecord, and PG::NotNullViolation
Ava Jarvis
·
mysql, rails, active record, postgresql
Convert Active Record array to indexed hash
James Huynh
·
ruby, rails, active record
Active Record migration types
Jeremy Bertrand
·
rails, active record, migration, types
Scope Sequences in ActiveRecord
Newest
Active Record
protips
Austin Lin
·
ruby, rails, active record
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.