Skip to content

ArchiveFinder#all has too many arguments #2

@dkreft

Description

@dkreft

In ArchiveFinder, we see this:

def all(method, options ={})
  self.find(:all, options)
end

But it makes no sense to call #all with two arguments, which is what this method suggests:

 # No
 my_stuff.all(:all, options)

I tried patching my local copy of this file to read thusly:

def all(options ={})
  self.find(:all, options)
end

But then it broke something else and I didn't feel like chasing it down.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions