lyonrb / wishlist

Meetup talks scheduler
https://github.com/lyonrb/wishlist/issues
7 stars 0 forks source link

ActiveRecord internals #42

Open mehlah opened 8 years ago

mehlah commented 8 years ago

A walkthrough on what happens when you hit enter in a Rails console after this line

Post.where(...).where(...).where(...).order(...).limit(5)

What AR objects are instantiated? How queries chain is held? When Arel comes on stage?

I'm still learning myself those things and experimenting by digging Rails source and will be happy to share what I've learned so far if anyone is interested.

michaelbaudino commented 8 years ago

This one sounds more Ruby-esque than the other one (#43) :wink: