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 420 | Next

Kevin Marshall, Chad Pytel, and Jon Yurek

"Pro Active Record: Databases with Ruby and Rails"

The current list of deprecated
finders follows:
??? find_on_conditions: You should now use find(ids, :conditions => "").
??? find_first: You should now use find(:first, . . .).
??? find_all: You should now use find(:all, . . .).
Immediately following the requirements, a number of Active Record error and exception
classes are defined. We covered the details of these exceptions in Chapter 6, so we won??™t go
into them again here. The most important thing to note about this section of the code is that
all the Active Record errors inherit from Ruby??™s standard StandardError class, which itself
inherits from the Exception class.
Past the exception definitions, we find the Rdoc documentation that briefly outlines the
details of the ActiveRecord class. This information provides the base for the official Active Record
documentation and for much of this book. Of course, most things are only briefly explained in
the Rdoc (or there would be no need for this book). Still, reading through the documentation
there is always a good idea.


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