Ecosyste.ms: OpenCollective
An open API service for software projects hosted on Open Collective.
github.com/activerecord-hackery/ransack
Object-based searching.
https://github.com/activerecord-hackery/ransack
c06fb77947b24a412aa60d89a3c1a7b78166f2f3 authored over 9 years ago
ActiveRecord should exclude Mongoid, extract logic to Ransack::Adapters
d6cb34a72a23a3bf0e2803908289435b6c3ced62 authored over 9 years ago914f7992fe0aea3f14a8f4deec8b041f6d5601ab authored over 9 years ago
1d281187655c09f41ce3c93c5fbf0803458f28e8 authored over 9 years ago
d296caa840e6c05eb760df812477ecbd8e23fa6b authored over 9 years ago
87115c27c153bce4f3bc846fd63a1c059a2400ce authored over 9 years ago
TODO:
The same with the MongoDB specs.
87cd36dcde34ea8e3b217158311746e426a26809 authored over 9 years ago40bfbdbf9ed3e7066ecb5ccb42c73f55c7f59427 authored over 9 years ago
to fix travis-ci not passing with Rails 5.0.0/master.
000cd22672d78777dc3d639dd405dd9624ed8b4a authored over 9 years ago
- Extract code into smaller, private methods for readability and
maintainability.
- Avoid hidde...
29a73b93f3a5ebb5a77593d14047b99ad493f4ea authored over 9 years ago
- Simplify the #initialize method by moving the `sort_params` logic
into its own method.
- Avoi...
17dd97af1c09e23f9fc309ea6287107b00883ce9 authored over 9 years ago[skip ci]
eadbe1242e17734267a5c62a3b21cd60fef7ec1e authored over 9 years ago8146b68cbc7ef60beaa4f72626f6c435e77a150a authored over 9 years ago
Completes PRs #562, #498, #426, #560 and #537 among others.
4c0e81cb213d621f73baa2a444d9878dcf4ed9c9 authored over 9 years agoUpdate CHANGELOG with #562 [ci skip]
746784acad3973eac01da380cb1efe86bbb8df44 authored over 9 years ago32d6dfa0f6ecbc4a8bc90e0d47d58f6a35147511 authored over 9 years ago
Fix handling attribute-name with `_and_` `_or_`
3a3f8a373f042eb9cc175f3ad277e73100ccd5fa authored over 9 years agoEmbedded Relations in Mongoid
91354e975a53e8d331f7ea30ecd1b20bff4fa9d0 authored over 9 years agoAvoid overwriting association conditions with default scope in Rails 3
aee1985a68bc1339bc5d2f17a2b7595e7503e9b7 authored over 9 years ago9927d9944e37f73fad1014ee79aef0104fbcac84 authored over 9 years ago
8b30302f3b7eabe967b16e78f898759bce37ff0c authored over 9 years ago
Fix time-dependent test failure
f77437e1c8c6803fabbbfbf58cf4a03549869b6f authored over 9 years ago7320bf9c5a972c151d963b9c6e3a15787c87b46d authored over 9 years ago
ea746f259937cb654059242e119bacb68f7f2156 authored over 9 years ago
When joining ransackable associations in Rails 3, preserve both:
* association default_scope
* ...
[skip ci] German locale file (de.yml)
d5d1cfaacfb531afe8d58fae6e30a6bf45c86925 authored over 9 years ago152b2509ffa370676ffb2df5ab94c9982b3f1326 authored over 9 years ago
a563ad2221d3bb0ce3efe112157a14d1026bf688 authored over 9 years ago
db919e1c14a103d1f717fba279cbe80ad387724e authored over 9 years ago
Deprecation Warnings:
Use of rspec-core's `its` method is deprecated. Use the rspec-its gem ins...
c09aa177953deb27e28179f55844ced0489613b4 authored almost 10 years agob36bdc23b1458b4dd4c66b91a3f982753c496afd authored almost 10 years ago
ba92a0bc3590ecab8f82501586a09d7deee264b8 authored almost 10 years ago
63d4973885c3d069817487d221ff930456fd96f2 authored almost 10 years ago
e01b7ffc26c483ee536fa45339bae96aff5e6284 authored almost 10 years ago
c8b748163c653168149b899de5c76f956ff889c1 authored almost 10 years ago
badge.
Add ‘Ransack’ to the specs header message.
211191e737629e7da1506bf8e1e938476aa71f54 authored almost 10 years ago
and a29c582 and fix an incorrect punctuation mark after `model_name` in
line 5.
A better solution by Gleb Mazovetskiy for issue #518 "undefined method
`model_name' for Ransack:...
* 'master' of https://github.com/activerecord-hackery/ransack:
Updated AR-specific reference t...
and use a local variable for the line display.
[skip ci]
a29c5827a2701d198bff3bd0e055cf0a7d91fd9b authored almost 10 years agoFix erroneous reference to AR class
d921f3041cd713cfb9ce8adf9b7216de41bd08f0 authored almost 10 years agoChanged reference from a version-dependent AR class to a better, more reliable Polyamorous one
631d104d6e8abee8888632109355c195f4c37111 authored almost 10 years agoTests are passing now and I'm no longer able to reproduce the issue.
a8136c204514002d5627cd8574d83efa85cef8d5 authored almost 10 years agod9be1a4f008871d46ec874cde4a347b5631567f9 authored almost 10 years ago
9e818cde introduced a bug by making an erroneous reference to `ActiveRecord::Associations::JoinD...
12c6b8f125f4963e1724efc0859c1c81f5db1aac authored almost 10 years ago
[WIP] Support for Rails 5.0.0.alpha/master and Arel 7/master and other
changes (see the change l...
1d8e1b3bef90cbe46dba31b9ca331bb6134826b8 authored almost 10 years ago
d9d211ee5109befb14ed9348d2ab7cbc37d78aea authored almost 10 years ago
Use similar formatting, single-quotes and newer hash syntax where
feasible.
with more detailed steps and command line examples.
5a384a38653aa6056bb8f938b7d66b675190ca13 authored almost 10 years agoOK, I tested for SQLite3 and PostgreSQL but didn’t for MySQL :trollface:
This is quick but shou...
549e1a6b54cfc13dc92104fa4486d40c3085f009 authored almost 10 years agoto help :smiley:
b3bf6d86d5ec8233e6ac12c03169a91b858d5b57 authored almost 10 years ago
- Add a Active Record conditional so there are only 2 lines to comment
out if someone would like...
because Travis CI is still using Ruby 2.2.0 when we specify 2.2.
Normally, the image mirror for...
c1a20da5589215f7be73e318c8a90ac86617ed97 authored almost 10 years ago99fa9be06a230fa0242830fae4277e04278c45e2 authored almost 10 years ago
42c305149da563ef022d08a807d92ab8f42e64bc authored almost 10 years ago
58e85617cb7fb090bd59311c27837fd9c051fa6c authored almost 10 years ago
and clean up schema.rb a bit.
Thanks to Jamie Davidson for the test!
This is to help anyone wh...
8fe8368b07bdc0fb31ae3388f4ea8c8fa63a8efb authored almost 10 years ago
to encourage contributors to run the test suite with the different
database options.
23b1703450e9b27fc7bea2f5c5f46ca3a959cff8 authored almost 10 years ago
9b216151f87797d728d0261a4c19c29facc43025 authored almost 10 years ago
8a9e4541317419f24d7bf64fb910fbe8c87ab723 authored almost 10 years ago
542bde646e74bcf26f8e1ea919ff3f09a242b074 authored almost 10 years ago
Allow ':wants_array' to be passed as 'false' in predicate options.
f78e34fa44570c19aa63065ae74ab398d21f1f2b authored almost 10 years ago0abaab4b1eb60674bba26acc7f9b9afc648c6d50 authored almost 10 years ago
[skip ci]
54932a4705c65057c864eea55d532556fb12ad55 authored almost 10 years ago65c59b09667b750df46386ebc865cff74889f49f authored almost 10 years ago
ccf47e286da5139d49f2db043a8d1f47544d0855 authored almost 10 years ago
Ransack hasn’t been working with Rails master targeting 5.0.0 and Arel
7 since last December whe...
which have been removed from Active Record in Rails 5.
4534bfb45e6e2d2f4605d55feb4f5bd4e30feefa authored almost 10 years agoinstead of the older `should` syntax.
b66095c0b909c894b767d19dcd6805fbec7d652e authored almost 10 years agosimplify a bit, and rename things for clarity.
4ac02e5f149514ee403695ab157d117419f7ea19 authored almost 10 years ago51262afe668841fb59002fb7da26b561ad861a64 authored almost 10 years ago
[skip ci]
d1feeb4b5e8d3e2c8476b2062b0d9c5a3ccecafa authored almost 10 years ago
This patch is needed for Rails 4.2.1 and 5.0.0 due to the following
commit history in ActionView...
e7ef1efc7877460a5faae158d9bf76f390b6451b authored almost 10 years ago
973d661007b251405d7f8b5dcaf32885807a89d6 authored almost 10 years ago
Update CHANGELOG [ci skip]
c2b316ca0a8b5b812e8fdfe7969bea854007b709 authored almost 10 years agoc90fb5c008e98ac5e7b49ab2f5cdd3c1a62e96c6 authored almost 10 years ago
ad60dbf4b69804b8059f2149b5a8917f68fefefb authored almost 10 years ago
rename the test and ransacker to hopefully make the intent and API more
explicit, wrap line at 8...
Enable I18n scoping by 'ransack.models'
af9158428faabf4e2f135c36256f00fce2936d34 authored almost 10 years agoEnable passing arguments to Ransackers
f3c4198801cead7185efbcbdaf72c6fb7637eb2e authored almost 10 years agoa6d534d097f9d2ff31a88d26f6a5c5eab418390e authored almost 10 years ago
81d74479a79e77379fdfb43ecdb50185583e8769 authored almost 10 years ago
bcc62845cbb0e1c49ba31ad9516705b6607742cf authored almost 10 years ago
- allow different operators & attributes for use with other tests
- replace `send("quoted_#{valu...
These tests are meant to prevent changing the TRUE_VALUES and
FALSE_VALUES sets in RANSACK::CONS...
9ae1b5447678c271e36e108034201704c4154433 authored about 10 years ago
10b023cf02d91f41006678bc61627765d7c92139 authored about 10 years ago
in all the tests, i.e. `s` and `ransack` instead of `search`.
d7a942c1c618597b8570512669dc7b67ddcf5098 authored about 10 years agoIt’s bedtime.
c5308a53dc448261ddb4b19123662ea8070d32df authored about 10 years ago
- simplify the spec ransacker in schema.rb
- clarify the spec and increase the coverage
- move t...
Fix NoMethodError in casted_array_with_in_predicate?
0f7c3b06cee076e8d3584616769f87c838abc13c authored about 10 years ago[Fixes #504]
The right-hand side of an IN predicate does not always respond
to :val. For examp...
1d54a8d7501bcd1a89e57ba1d4c1d0149ae3c35f authored about 10 years ago
ecc84888c1893f43c51516884f2da24ac41fcbb3 authored about 10 years ago
Don't replace 0 and 1 with false and true, fixes #502 [skip ci]
7cd248c37df1b93b94335db2c15ccd7030d245d2 authored about 10 years ago9f4e48eb92e3f5531a3be3c673f2bef351bc21c5 authored about 10 years ago
[skip ci]
76b4e38259283f34c44d0ee3d4a21a867da28ead authored about 10 years ago