public
Rubygem
Description: Extras for DataMapper, including bridges to DataObjects::Migrations and Merb::DataMapper
Homepage: http://datamapper.org
Clone URL: git://github.com/sam/dm-more.git
fixed a determine finder bug
mattetti (author)
Sun May 04 22:46:43 -0700 2008
commit  e09d74fda61c8434676e95f4fac078f76e09f092
tree    1380f56e85cad8e21aa62dedef73ffaca7d77497
parent  608589fac0d5b93d707b26509a12e51ccde299c5
...
32
33
34
35
 
36
37
38
...
32
33
34
 
35
36
37
38
0
@@ -32,7 +32,7 @@ module DataMapper
0
       end
0
 
0
       def determine_finder(match)
0
- match.captures.first == 'all_by' ? :first : :all
0
+ match.captures.first == 'all_by' ? :all : :first
0
       end
0
 
0
       def extract_attribute_names_from_match(match)

Comments

    No one has commented yet.