Building a Composite Model in Active Record
Location: E145 - E146 Audience level: Expert
The session starts with a quick overview of the technique used to create a class that acts like an Active Record Model class, while not inheriting from ActiveRecord::Base.
This is followed by a code review of the results of applying the technique. Particular attention is paid to handling query conditions, and rewriting/remapping sql table references.
The session wraps up with lesions learned in the exercise.
A secondary benefit of the session for newer developers is to demonstrate techniques and willingness to deal with Rails source and internals.
People planning to attend this session also want to see:
I have 32 years industry experience; 8 of it in Smalltalk, and 25 in Objects of various kinds. I have worked on most aspects of the tool chain from compilers to SCM systems, and high end engineering modeling tools to financial modeling tools. I am on my third startup, and glad to be back into the Smalltalk/Ruby family of languages.