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
Lotus Notes and Domino 6 Development (2nd Edition)
Types of Applications
Working with Tables
Adding Actions to a View
Creating a Frameset
Writing Java for Domino Applications
Software Configuration Management
Configuration Status Accounting
A Practical Approach to Configuration Verification and Audit
Appendix A Project Plan
Appendix M Problem Report (PR)
Appendix Q Problem Trouble Report (PTR)
Building Web Applications with UML (2nd Edition)
Document Object Model
Distributed Objects
Activities
Guidelines for Web Application Design
Number Store Main Control Mechanism
Systematic Software Testing (Artech House Computer Library)
An Overview of the Testing Process
Master Test Planning
Analysis and Design
The Test Manager
Some Final Thoughts…
Excel Scientific and Engineering Cookbook (Cookbooks (OReilly))
Working with Data Types
Exploring Chart Styles
Combining Chart Types
Determining Monthly Payments
Solving Inverse Problems
InDesign Type: Professional Typography with Adobe InDesign CS2
Character Formatting Options
How InDesign Justifies Type
Tricks with Drop Caps
Creating Default Styles
Changing Columns
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