cheat sheets.

$ cheat deprecated
--- deprecated version 23	Sat Sep 16 18:12:15 +0000 2006
+++ deprecated version 39	Tue Oct 17 04:52:28 +0000 2006
@@ -1,30 +1,34 @@
 These things have all been deprecated.  Some of them may not exist at all in
 Rails 2.0.  You've been warned!
 
   @params        
     Use params[] instead.
   @session       
     Use session[] instead.
   @flash         
     Use flash[] instead.
   @request       
     Use request[] instead.
   @env           
     Use env[] instead.
-  @content_for_layout
-    Use yield instead.
   find_all       
     Use find(:all) instead.
   find_first     
     Use find(:first) instead.
   render_partial 
     Use render :partial instead.
   push_with_attributes 
     Use has_many :through instead.
+  Object#type
+    Use Object#class instead.
+  content_for_layout
+    Use yield instead.
+  content_for_some_fragment
+    Use yield :some_fragment instead.
 
 These things are not technically deprecated, but stay away.
   components      
     Use of components are frowned upon.
   paginate :model 
     The default paginator is slow. Writing your own may be faster.
( add new | see all )