Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixes issue #17 - NoMethodError: undefined method `sanitize_limit' for #<Object:...> #24

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

t-anjan
Copy link

@t-anjan t-anjan commented Nov 6, 2014

When trying to access a table-less model through an association, it was throwing a 'NoMethodError: undefined method `sanitize_limit' for #Object:...".

Fixed the error by defining that method on the "connection" variable. Took the method from the ActiveRecord gem: /lib/active_record/connection_adapters/abstract/database_statements.rb .

…ough an association, it was throwing a 'NoMethodError: undefined method `sanitize_limit' for #<Object:...>".

Fixed the error by defining that method on the "connection" variable. Took the method from the ActiveRecord gem: /lib/active_record/connection_adapters/abstract/database_statements.rb .
@pboling
Copy link

pboling commented Nov 8, 2017

@softace bump

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants