SEARCH
0-9 A B C D E F G H I J K L M N O P Q R S T U V W X Y Z
Prev | Current Page 421 | Next

Kevin Marshall, Chad Pytel, and Jon Yurek

"Pro Active Record: Databases with Ruby and Rails"


Moving on, we finally get to the definition of the Base class itself??”this is where all the
action really starts to happen. We??™ve covered many of the details of the methods listed here
throughout various parts of this book, so we won??™t go into fine-grained detail again for these
either. Instead, we??™ll just point out of the most interesting tidbits about the details and methods
CHAPTER 8 ?–  ACTIVE RECORD AND THE REAL WORLD 189
in this class and leave it to you to do additional exploration as you see fit. Here??™s our high-level
view of important features the Base class provides to all Active Record objects:
Event logging: Active Record supports detailed event logging and, by default, uses the
Log4r class. The specific logger to use is set through the cattr_accessor method. We
covered logging in detail in Chapter 6.
Configuration settings: One of the first things defined in the Base class are the various
class variables that store the Active Record configuration settings. Here, you can see all
the Active Record default assumptions and get a brief explanation of what each means.


Pages:
409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433
hotel jelenia góra Russian bride Free English grammar and study guid powiekszenia wielkoformatowe counter strike 1.6