You??™ve got the basics
and core understanding of Active Record concepts and are now ready to move on to all of the
really fun stuff. Throughout the rest of this book, we??™ll focus on various tips, tricks, bonus features,
and using Active Record in the real world.
CHAPTER 4 ?– CORE FEATURES OF ACTIVE RECORD 89
Bonus Features
???It slices. It dices. It even chops! But wait, there??™s more...???
Like those great infomercials you find on late night television, Active Record piles on so
many nice extras you almost can??™t resist wanting to become an Active Record developer! These
bonus features include observers to allow you to monitor various actions through the life cycle
of your objects, aggregations that allow you to group common data sets or attribute groupings
into objects themselves, and acts-as packages that allow you to make your Active Record
objects mimic other structure types like lists or trees. Each of these features fill their own small
niche, and each is very useful within it. Even better (as is common with Active Record) all of
these bonus features are pretty simple and straightforward to implement.
Pages:
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228