Popular Activerecord Programming Tips
Find or Initialize objects RoR
Agustin Anfuso
·
0 responses
·
activerecord, ruby on rail
Create a random account id for a user
Jordan Trevino
·
0 responses
·
ruby, rails, activerecord, random
count and size for ActiveRecord
Leo.liang
·
2 responses
·
rails, activerecord
DB Charmer
Guillaume Hain
·
0 responses
·
rails, activerecord
Doctor, doctor; Why is my ActiveRecord scope eager-loading?
Stuart Liston
·
0 responses
·
activerecord, scope, eager load
Limitless strings for Postgresql
Robbie Marcelo
·
0 responses
·
activerecord, rails, postgresql
Rails 4's `.select` and `.select!` object masked as a typical Array
Justin Smestad
·
0 responses
·
ruby, activerecord, bug, array
Have you lost a second of data?
Aaron Lasseigne
·
0 responses
·
ruby, activerecord, sqlite, rails
Easily add named timestamp scopes
Jake Moffatt
·
0 responses
·
rails, activerecord, gem, scopes
Select table names from SQL Server from a Mac via ActiveRecord and TinyTDS driver
Edward J. Stembler
·
0 responses
·
activerecord, mac, sql server, tinytds
Safely Add Hstore Support to Postgres via ActiveRecord Migrations
Charles Zhang
·
0 responses
·
rails, activerecord, postgres, hstore
Readonly ActiveRecord Columns
Sean Todd
·
0 responses
·
rails, activerecord, validation, readonly
Faster ActiveRecord Migrations Using change_table :bulk
Aaron Lasseigne
·
0 responses
·
ruby, rails, activerecord
DRY up your Rails App by using scopes
RJ Pittman
·
0 responses
·
activerecord, rails, dry
Monkeypatch ActiveRecord so .find_each goes in descending order by id
Jeremy Raines
·
0 responses
·
rails, activerecord
Protector: ORM security DSL
Boris Staal
·
0 responses
·
ruby, rails, activerecord, sequel
Postgres, the Best Tool You're Already Using
Bhavin Javia
·
0 responses
·
rails, activerecord, postgres
Postgres/Resque Bug Fix
Adrian Peterson Co
·
0 responses
·
activerecord, postgres, resque, pg
Working with time offsets into the past
Brad Fults
·
0 responses
·
rails, activerecord, time
ActiveRecord: Use efficient queries for counting
Jon Tai
·
0 responses
·
ruby, rails, activerecord, sql
Mixing query conditions in AR
Diogo
·
0 responses
·
activerecord, rails
Check for empty columns in your database
Anatoli Makarevich
·
0 responses
·
ruby, rails, activerecord
Skip AR callbacks
Wojtek Kruszewski
·
0 responses
·
activerecord, rails, callbacks, wojt-eu
User migration helpers outside migrations
Wojtek Kruszewski
·
0 responses
·
activerecord, rails, console, migrations
Rails ActiveRecord Stinks
Mike Piccolo
·
0 responses
·
ruby, rails, activerecord, code