Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Use public_send over send.

  • Loading branch information...
commit 70c49cacd15747dde3bbbc1e4e94372db277a15f 1 parent c91cdfd
@postmodern postmodern authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  app/models/version.rb
View
2  app/models/version.rb
@@ -234,7 +234,7 @@ def to_install
def self.to_rows(scope)
sql = select("rubygems.name, number, platform").
- indexed.send(scope).
+ indexed.public_send(scope).
from("rubygems, versions").
where("rubygems.id = versions.rubygem_id").
order("rubygems.name asc, position desc").to_sql
Please sign in to comment.
Something went wrong with that request. Please try again.