GitHub Sale: sign up for any paid plan this week and pay nothing until January 1, 2009!  [ hide ]

public
Fork of itszero/rails21-book-tw
Description: Ruby on Rails What's new for 2.1 - Taiwan (Traditional Chinese) Edition
Clone URL: git://github.com/cfc/rails21-book-tw.git
Fixed some error
cfc (author)
Thu Jul 17 22:22:53 -0700 2008
commit  40f8312290428a907725246797d5460b770d4b3e
tree    5e6fc34e6c619142fee580150fd45c60d65ea7d2
parent  d0d983eccbae0c1b7ee55ffbf114aeba19c74ed5
...
35
36
37
38
 
39
40
41
42
43
44
 
45
46
47
48
49
50
51
 
52
53
54
...
35
36
37
 
38
39
40
41
42
43
 
44
45
46
47
48
49
 
 
50
51
52
53
0
@@ -35,20 +35,19 @@
0
 
0
 類別方法**all**是另外一個類別方法**find(:all)**的別名,如:
0
   
0
- Topic.all 等同於 Topic.find(:all)
0
+ Topic.all 等同於 Topic.find(:all)
0
 
0
 ### First
0
               
0
 類別方法**first**是另外一個類別方法**find(:first)**的別名,如:
0
 
0
- Topic.first 等同於 Topic.find(:first)
0
+ Topic.first 等同於 Topic.find(:first)
0
 
0
 ### Last
0
 
0
 類別方法**last**是另外一個類別方法**find(:last)**的別名,如:
0
 
0
- Topic.last 等同於 Topic.find(:last)
0
-
0
+ Topic.last 等同於 Topic.find(:last)
0
              
0
 ## 在**named\_scope**中使用**first**和**last**方法
0
 

Comments

    No one has commented yet.