My Account Log in

1 option

Rails pocket reference / by Eric Berry.

O'Reilly Online Learning: Academic/Public Library Edition Available online

View online
Format:
Book
Author/Creator:
Berry, Eric, 1913-1993.
Language:
English
Subjects (All):
Ruby on rails (Electronic resource).
Ruby (Computer program language).
Web site development.
Physical Description:
1 online resource (198 p.)
Edition:
First edition.
Place of Publication:
Sebastopol, California : O'Reilly, 2008.
Language Note:
English
System Details:
text file
Summary:
Rails 2.1 brings a new level of stability and power to this acclaimed web development framework, but keeping track of its numerous moving parts is still a chore. Rails Pocket Reference offers you a painless alternative to hunting for resources online, with brief yet thorough explanations of the most frequently used methods and structures supported by Rails 2.1, along with key concepts you need to work through the framework's most tangled corners. Organized to help you quickly find what you need, this book will not only get you up to speed on how Rails works, it also p
Contents:
Table of Contents; Preface; Conventions Used in This Book; Using Code Examples; Safari® Books Online; How to Contact Us; Acknowledgments; Chapter 1. Rails Pocket Reference; About Rails Pocket Reference; Getting Started; RubyGems; Installing Rails with RubyGems; Using Instant Rails on Windows; Gem Dependencies; Rails Commands and Configuration; Usage and Options; Usage; Options; Rails File Structure; Configuring Rails; Scripts; script/about; script/console; script/destroy; script/generate; script/performance; script/plugin; script/process; script/runner; script/server; Environments
Configuring Your EnvironmentGeneral options; ActiveRecord options; ActionView options; ActionMailer options; Custom Environments; Rake; Usage and Options; Building Custom Rake Tasks; Testing Rails; Assertions; DOM assertions; Model assertions; Response assertions; Routing assertions; Selector assertions; Tag assertions; Functional Tests; Controller-driven functional tests; View-driven functional tests; Fixtures; YAML; Comma-separated value; ERb in YAML and CSV; Mocks; Unit Testing for Models; Rails Console; Console Tips and Tricks; Accessing the last return value with _
Run the console in sandbox modeOutput object to YAML with y; Format with helper methods using helper; Access your controllers with app; ActiveRecord and Models; Migrations; Column type mappings; Column options; Run the migration; Associations; One-to-one; One-to-many; Many-to-many; Polymorphic associations; Validations; Named Scope; Passing arguments; Named scope extensions; Anonymous scopes; CRUD: Create, Read, Update, Delete; Create; Read; Update; Delete; Conditions; Dirty objects; Partial updates; Database Configurations; MySQL; PostgreSQL; Oracle; Microsoft SQL Server
Using Multiple Database ConfigurationsAction Controllers; Requests; Parameters; Sessions; Responses; Renders; Redirects; Calling Multiple Redirects or Renders; Views; Using Variables with ERb; Layouts and Templates; respond_to; Using custom formats with respond_to; Builder; JavaScriptGenerator; Using subtemplates; Partials; Rendering a collection of partials; Rendering shared partials; Rendering partials with layouts; Caching; Page caching; Action caching; Fragment caching; Sweeping cache; Rails and Ajax; JavaScriptHelper; PrototypeHelper; ScriptaculousHelper
Real World Example: Honey-Do Task ListRouting; Routing Basics; Route priority; Default routes and default parameters; Named routes; Pretty URLs; Regular expressions and parameters; Route globbing; Route conditions; Reloading routes; REST; RESTful Resources; Sample RESTful Rails Application; ActionMailer; Sending an Email; HTML and Multipart Emails; Attachments; Action Web Services; What Can You Do with Web Services Under Rails?; Using REST; Using XML-RPC; Using SOAP; Logging; Filtering Sensitive Parameters; Creating Additional Loggers; Logging on the Console; ActiveResource; Plugins
Capistrano
Notes:
"A quick guide to Rails"--Cover.
"Nutshell handbook"--T. page verso.
Includes index.
Description based on print version record.
ISBN:
9781491973981
1491973986
9780596155742
0596155743
OCLC:
775300472

The Penn Libraries is committed to describing library materials using current, accurate, and responsible language. If you discover outdated or inaccurate language, please fill out this feedback form to report it and suggest alternative language.

Find

Home Release notes

My Account

Shelf Request an item Bookmarks Fines and fees Settings

Guides

Using the Find catalog Using Articles+ Using your account