Open mehlah opened 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.
This one sounds more Ruby-esque than the other one (#43) :wink:
A walkthrough on what happens when you hit enter in a Rails console after this line
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.