Skip to content
This repository has been archived by the owner on Oct 26, 2021. It is now read-only.

Bugfix for MongoMapper #9

Merged
1 commit merged into from Jan 12, 2011
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
2 changes: 1 addition & 1 deletion lib/generators/mongo_mapper.rb
Expand Up @@ -17,7 +17,7 @@ def self.all(klass)
end

def self.find(klass, params=nil)
"#{klass}.first(#{params})"
"#{klass}.find(#{params})"
end

def self.build(klass, params=nil)
Expand Down