public
Rubygem
Description: Resource-oriented open source Ruby framework for Web apps.
Homepage: http://rubywaves.com/
Clone URL: git://github.com/dyoder/waves.git
Search Repo:
Changed :from to :class in the samples/blog model classes.
dyoder (author)
Sat May 17 01:04:48 -0700 2008
commit  64422b4f31bd9e897d1627e6ae215981f5202ab8
tree    380f4ca0b20ae169c204da58adc569c9471399c0
parent  440513c7ca7b6548966f374ffdc486989c48266c
...
3
4
5
6
 
7
8
9
...
3
4
5
 
6
7
8
9
0
@@ -3,7 +3,7 @@
0
   module Models
0
 
0
     class Comment < Default
0
- many_to_one :entry, :from => Blog::Models::Entry
0
+ many_to_one :entry, :class => Blog::Models::Entry
0
     end
0
 
0
   end
...
3
4
5
6
 
7
8
9
...
3
4
5
 
6
7
8
9
0
@@ -3,7 +3,7 @@
0
   module Models
0
 
0
     class Entry < Default
0
- one_to_many :comments, :from => Blog::Models::Comment, :key => :entry_id
0
+ one_to_many :comments, :class => Blog::Models::Comment, :key => :entry_id
0
     end
0
 
0
   end

Comments

    No one has commented yet.