Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Loading…

Kernel.Table method collides with global Table-method of Arel in Rails3 #3

Open
akafred opened this Issue · 2 comments

3 participants

@akafred

Kernel.Table method collides with global Table-method of Arel in Rails3. The global Table-method can in client code be replaced by Ruport::Data::Table.new (which has a different interface) - but methods like Pivot.to_table uses the Kernel.Table method and is broken (because Arels Table method interferes).

@Odaeus
Collaborator

Thank you for reporting and investigating this issue. I think the correct solution is as you suggest to replace all instances with the namespaced version. It's not very good to pollute the global namespace like that but I don't want to break backward compatibility. So I will see if I can detect if Table already exists, but that depends when the gem gets loaded.

@nikosd

Hi, is this still valid? Mainly the question is, is Ruport compatible with Rails 3 or not?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.