Fixes and testing for class proxy

This commit is contained in:
Sam Lown 2010-06-18 21:11:02 +02:00
parent 061c7a0154
commit 9f1eea8d32
2 changed files with 5 additions and 1 deletions

View file

@ -51,7 +51,7 @@ module CouchRest
elsif m.to_s =~ /^find_(by_.+)/
view_name = $1
if has_view?(view_name)
return find_first_from_view(view_name, *args)
return first_from_view(view_name, *args)
end
end
super