-
-
Notifications
You must be signed in to change notification settings - Fork 3.3k
Remove metasearch backports #3511
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
Conversation
I backported these because I liked the old naming conventions better. |
Yes that's true, I even don't like the Ransack names. But we should not support both. The problem is we have a dirty mix, we support some metasearch matcher, but not all and we support ransack but only under the hut. I understand you (@seanlinsley) that you want a clean version 1.0.0 (#3486 (comment)). That we should make a backport and use this backport as default, is confusing for people that look at the at the ransack doc (including me). |
The situation here is that Ransack has a different opinion on naming conventions than Metasearch did. I find Metasearch's conventions to be much easier to read and understand. I don't think we should bend to Ransack's conventions simply because we're relying on their code.
We can add them.
Then we should document the fact that these custom names aren't built into Ransack. |
We should not write a mapper around Ransack, we should use Ransack or Metasearch not both!
|
6c3f252
to
032f2df
Compare
032f2df
to
34a7eb8
Compare
Would it be possible to also get active_admin to loosen up the dependency on ransack as well? Ransack is already past a 1.6.x release, but the dependency definition in the gemspec here requires a 1.3.x version. We use ransack in our app outside of active_admin, and would like to be able to upgrade it independently (within reason). You are using the
|
@pboling |
Oh, right. I knew that at one point. Thanks. |
Before my nearly year-long hiatus, I had been working on AA for around two full years, during which I made a ton of backwards-incompatible changes without actually making a release. Now that I'm back, I'm very hesitant to make any more breaking changes unless they're necessary. I still prefer verbs like |
@seanlinsley I give you right about the " |
I assume this was a typo, and you meant to type As I said, other than my preferring the more human And besides this being a breaking change, it doesn't affect the readability or performance of our code. So this change should at the very least wait until version 2.0.0. I'm sorry, but we're wasting our time here arguing about this. There are much more important issues to resolve. I'm going to close this PR. We can come back to it once we start considering what breaking changes to include in 2.0.0. |
@timoschilling since you had this for v2, are you still interested in getting this out? Would @Fivell be able to help out here? I've noticed a lot of his work with these predicates and such. |
34a7eb8
to
7e65f38
Compare
Not yet passing but I rebased this PR! |
7e65f38
to
b72b1e9
Compare
@deivid-rodriguez do you think we could still get this in? Maybe easier to create a new PR and redo the changes rather than resolve each merge conflict? |
This closes #3511 and is updated branch with no merge conflicts. Instead of fixing each conflict, since the original PR is very old, started from scratch making each change and running the tests. This removes backports for a gem that was deprecated in favor of ransack. We want to reduce our footprint and just rely on ransack's defaults and docs.
This will be addressed in #8010 and part of our next major release around Ransack changes. |
This closes #3511 and is updated branch with no merge conflicts. Instead of fixing each conflict, since the original PR is very old, started from scratch making each change and running the tests. This removes backports for a gem that was deprecated in favor of ransack. We want to reduce our footprint and just rely on ransack's defaults and docs.
This closes #3511 and is updated branch with no merge conflicts. Instead of fixing each conflict, since the original PR is very old, started from scratch making each change and running the tests. This removes backports for a gem that was deprecated in favor of ransack. We want to reduce our footprint and just rely on ransack's defaults and docs.
Remove metasearch backport, use ransack defaults This closes #3511 and is updated branch with no merge conflicts. Instead of fixing each conflict, since the original PR is very old, started from scratch making each change and running the tests. This removes backports for a gem that was deprecated in favor of ransack. We want to reduce our footprint and just rely on ransack's defaults and docs.
In following to #3486 (comment) from @seanlinsley
We should remove the
metasearch
backports.