Skip to content
This repository was archived by the owner on Mar 30, 2022. It is now read-only.

Conversation

@ka8725
Copy link

@ka8725 ka8725 commented Nov 17, 2012

List of checkboxes for form helper generates array of params like this (I don't select any checkbox and use "id_in" predicate):

[""]

Validator pass them and gem generates wrong select like this:

select * from smth where id in (NULL)

So my changes fix this issue

When I'm trying to run tests in terminal with `rake` command I see the following errors:
* rake should be included to Gemfile
* sqlite3 should be included in the Gemfile
This changes fix these issues
When I pass in where array like ["", ""] it must not generate select like
select * from somthing where id in (NULL)
@pechorin
Copy link

pechorin commented Dec 7, 2012

merge this patch please :))

@ka8725
Copy link
Author

ka8725 commented Dec 8, 2012

It seems that @ernie has no longer supported this gem - the last change was 1 year ago

@ka8725
Copy link
Author

ka8725 commented Feb 4, 2014

Added integration with rails 4

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants