Flylib.com
Active Record
Previous page
Table of content
Next page
Table A-5. Deprecated associations
Rails 1.1.6
Rails 1.2
:dependent => true
:dependent => :destroy
:exclusively_dependent
:dependent => :delete_all
push_with_attributes
If associations require attributes, use
has_many :through
concat_with_attributes
If associations require attributes, use
has_many :through
Table A-6. Deprecated methods
Rails 1.1.6
Rails 1.2
count by conditions or joins
count(
column_name, options
)
find_all
find(:all, ...)
find_first
find(:first, ...)
human_attribute_name
.humanize
User.transaction(@user1, @user2) { ... }
Object level transaction support has been deprecated. Install object_transactions plug-in.
Previous page
Table of content
Next page
Rails Cookbook (Cookbooks (OReilly))
ISBN: 0596527314
EAN: 2147483647
Year: 2007
Pages: 250
Authors:
Rob Orsini
BUY ON AMAZON
SQL Tips & Techniques (Miscellaneous)
Understanding SQL Transactions and Transaction Logs
Performing Multiple-table Queries and Creating SQL Data Views
Understanding Transaction Isolation Levels and Concurrent Processing
Retrieving and Manipulating Data Through Cursors
Writing Advanced Queries and Subqueries
Secure Programming Cookbook for C and C++: Recipes for Cryptography, Authentication, Input Validation & More
Causing a Source File to Be Linked Automatically Against a Specified Library
Justify a Text File
Defining Constrained Value Types
Using Hashed Containers
Implementing a Dynamically Sized Matrix
Introducing Microsoft ASP.NET AJAX (Pro - Developer)
The AJAX Revolution
Partial Page Rendering
Built-in Application Services
Remote Method Calls with ASP.NET AJAX
Building AJAX Applications with ASP.NET
Twisted Network Programming Essentials
Starting the Twisted Event Loop
Accepting Connections from Clients
Checking Whether a Page Has Changed
Calling SOAP Web Services
Using Authentication in a Twisted Server
What is Lean Six Sigma
The Four Keys to Lean Six Sigma
Key #2: Improve Your Processes
Key #3: Work Together for Maximum Gain
Key #4: Base Decisions on Data and Facts
Beyond the Basics: The Five Laws of Lean Six Sigma
Comparing, Designing, and Deploying VPNs
Deploying AToM Pseudowires
Review Questions
The Inter-Autonomous System/Interprovider MPLS VPN Architecture
Strengthening SSL Remote Access VPNs Security by Implementing Cisco Secure Desktop
Enabling SSL VPNs (WebVPN) on Cisco IOS Devices
flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net
Privacy policy
This website uses cookies. Click
here
to find out more.
Accept cookies