logoalt Hacker News

drxyesterday at 7:40 PM3 repliesview on HN

Rails has ActiveRecord, which has an extremely elegant REPL. It's a delight to use.


Replies

karmakazeyesterday at 8:50 PM

ActiveRecord may be both the best and worst part of Rails. Currently the largest scaling problem that I'm facing is with all the before_* and after_* callbacks which run per model record rather than a batch of changed records. This is an N+1 query landmine field for which ActiveRecord offers no solutions.

show 1 reply
cpursleyyesterday at 9:04 PM

AR is the worst thing about Rails - it's anti-pattern central. The Ruby REPL is amazing, however.

Thaxllyesterday at 11:29 PM

ActiveRecord or how to badly couple your storage with your objetcs.