activerecord
Tag details
Welcome to the 'activerecord' tag page at Technorati. This page features content from the farthest reaches of the Blogosphere that authors have "tagged" with 'activerecord'.
Look up
"activerecord"
at The Free Dictionary
Latest blogosphere posts tagged “activerecord”
-
Case-insensitive validates_uniqueness_of slowness
Floorplanner Tech Blog —
Authority: 400
Watch out when using validates_uniqueness_of :field, :case_sensitive => false . Rails transforms this in a query that cannot be supported by an index, which will really slow validation down if the underlying table grows larger. For example, we use validates_uniqueness_of to check for duplicate e-mail addresses. ...1 week ago -
Merging named scopes without performing a query
Danilo Sato —
Authority: 92
It all started when I tweeted : wish I could get hold of a chain of named_scopes without performing any query (which means it can’t be dynamically composed) #activerecord My team has currently been performing some refactorings on our Rails app and one of our goals is to move complex find queries into more ...1 week ago -
ActiveRecord Model Class Name Clash
Floehopper —
Authority: 92
I’ve just spent way too long trying to work out why the validation callbacks were getting called twice on one of my ActiveRecord models. I thought I’d write this up in case it saves someone else some pain. In the end, I narrowed the problem down to the name of the model class which is Sync . I should’ve ...3 weeks ago -
Putting bloated mongrels on a diet
Across Weirdish Wild Space —
Authority: 133
Um, I’ve done more than a few of these things with ActiveRecord in a Rails app. You probably have too. From the fine folks at the Engine Yard. That’s Not a Memory Leak, It’s Bloat Social Bookmarks3 weeks ago

