Popular Activerecord Programming Tips
Prefetch associations for existing model instances
Michael Schaefermeyer
·
0 responses
·
rails, activerecord, performance, prefetching
Create a Rails app without ActiveRecord
Jason Humphries
·
0 responses
·
ruby, rails, activerecord, mongodb
Connect ActiveRecord via SSH Tunnel
Dave Baker
·
0 responses
·
ruby, activerecord, ssh, devops
Connect to a database using ActiveRecord outside of Rails
Steven Shingler
·
0 responses
·
ruby, rails, activerecord, database
Make ActiveRecord objects not readonly
Bartłomiej Danek
·
0 responses
·
ruby, rails, activerecord, readonly
How to check ActiveRecord Version?
Gourav Tiwari
·
0 responses
·
rails, activerecord
Assigning date attributes without ActiveRecord
Gus Bonfant
·
2 responses
·
activerecord, rails
Easily keep track of rails' relationship count with counter_cache
Dimitri Jorge
·
0 responses
·
ruby, rails, activerecord, counter_cache
Rails #rewhere ActiveRecord method
Rajeev N Bharshetty
·
0 responses
·
ruby, rails, activerecord
Search string_to_array in Rails and PostgreSQL
Yacobus Reinhart
·
0 responses
·
activerecord, array, hstore, rails
Multiple HABTM associations between 2 models in Rails
Ali Ismayilov
·
1 response
·
rails, activerecord, models, multiple
ActiveRecord and Mongo associations
Elad Meidar
·
0 responses
·
mysql, rails, activerecord, mongoid
Rails .save failing silently? Ruby's implicit returns may be your problem.
Jonathan Cutrell
·
1 response
·
ruby, rails, activerecord
Order of columns in table index matters (postgres)
Anton Katunin
·
0 responses
·
rails, activerecord, postgres, index
Mapping custom data to ActiveRecord objects
Tomasz Borowski
·
0 responses
·
ruby, activerecord, rails, gem
Use schema_plus to improve your database design in Rails apps
Diogo Biazus
·
1 response
·
rails, activerecord, database, postgresql
TIL: Postgres: Partial Index On Boolean Field Tp
bennycwong
·
0 responses
·
rails, activerecord, postgresql, boolean
SQL92 LIKE expression escaping in Arel's matches(_all) method
Kazuya Numata
·
0 responses
·
rails, activerecord, sql, like
Frozen time in rails scope
Alexander Tamoykin
·
0 responses
·
activerecord, rails, time, scope
AssociationCountValidator
Anton Kalyaev
·
1 response
·
ruby, activerecord, validation, forms
Prevent abstract ActiveRecord instantiation
Trung Lê
·
0 responses
·
rails, activerecord, sti, abstract class
Query + Proxy Objects for Sweet Data Access
Ben Simpson
·
1 response
·
ruby, activerecord, patterns, relational
Trace SQL queries back to Rails code
Michael Kohl
·
0 responses
·
ruby, rails, activerecord, query
How to Find and Delete Orphaned Records with Ruby on Rails
Anton Zolotov
·
0 responses
·
ruby, rails, activerecord, sql
Avoid ActiveRecord "Unknown column 'table.column' in 'field list'" exception between dropping the column and application restart
Tomasz Werbicki
·
0 responses
·
rails, activerecord, migration, database