Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Loading…

Squeel breaks rails 4 `from` finder method. #256

Closed
thedeeno opened this Issue · 0 comments

1 participant

@thedeeno

In rails 3 if I write: Model.from('models') squeel generates the following sql:

select "models".* from models

In rails 4 the same arel generates the following sql:

select "models".* from 'models', NULL

The table name is wrapped in quotes and ', NULL' is appended. If I remove squeel, it works as expected.

Thoughts? Am I doing this wrong?

@ernie ernie closed this in 6b73fb4
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.