Permalink
Browse files

Don't use instance method documentation syntax when class/module meth…

…od is meant
  • Loading branch information...
jeremyevans committed Apr 29, 2011
1 parent a016514 commit 66ef08069d199907f9c2bf9a4de3653849b8848b
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/sequel/model/base.rb
View
@@ -162,7 +162,7 @@ def dataset=(ds)
def db
return @db if @db
@db = self == Model ? DATABASES.first : superclass.db
- raise(Error, "No database associated with #{self}: have you called Sequel#connect or #{self}#db= ?") unless @db
+ raise(Error, "No database associated with #{self}: have you called Sequel.connect or #{self}.db= ?") unless @db
@db
end

0 comments on commit 66ef080

Please sign in to comment.