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

Made filter search case-insensetive for mongoid #1246

Merged
merged 4 commits into from Jul 16, 2012
Merged

Made filter search case-insensetive for mongoid #1246

merged 4 commits into from Jul 16, 2012

Conversation

MblKiTA
Copy link
Contributor

@MblKiTA MblKiTA commented Jul 13, 2012

No description provided.

@travisbot
Copy link

This pull request fails (merged f944055 into 054a537).

…:string, "foo", "default").should == {:field=>/foo/}

expected: {:field=>/foo/}
got: {:field=>/foo/i} (using ==)
@travisbot
Copy link

This pull request fails (merged 481a8da into 054a537).

1) RailsAdmin::Adapters::Mongoid#build_statement supports string type query
Failure/Error: @abstract_model.send(:build_statement, :field, :string, "foo", "like").should == {:field=>/foo/}
expected: {:field=>/foo/}
got: {:field=>/foo/i} (using ==)
Diff:
@@ -1,2 +1,2 @@
-:field => /foo/
+:field => /foo/i
./spec/unit/adapters/mongoid_spec.rb:690
mshibuya added a commit that referenced this pull request Jul 16, 2012
Made filter search case-insensetive for mongoid
@mshibuya mshibuya merged commit 344432e into railsadminteam:master Jul 16, 2012
@mshibuya
Copy link
Member

Thanks for the request!

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.

None yet

3 participants