Ecosyste.ms: OpenCollective

An open API service for software projects hosted on Open Collective.

ransack

Keep Ransack, the powerful Rails search and filtering engine going.
Collective - Host: opensource - https://opencollective.com/ransack - Code: https://github.com/activerecord-hackery/ransack

Merge pull request #447 from spovich/master

Add failing test and fix for #437

github.com/activerecord-hackery/ransack - 882ee4cdc83dc137fd23fc4f00ad79e5b494a305 authored over 10 years ago
make test case-insensitive - weird that it passed locally with ‘name’

and not ‘Name’.

github.com/activerecord-hackery/ransack - 1778584dd3049d8caeb73ab807c0252480cb63eb authored over 10 years ago
Add failing test for #437

Give person a ```belongs_to``` association to group for testing
Fix for #437

github.com/activerecord-hackery/ransack - c41c56722fe5647aafbda08667ad6e404cd84a67 authored over 10 years ago
Use frozen array constant

github.com/activerecord-hackery/ransack - eac62ff04471c9d07eff4a00588ae8468845a865 authored over 10 years ago
Use frozen constant, cleanup

github.com/activerecord-hackery/ransack - 47db248da4e7143ba827b7b8534337932d73479c authored over 10 years ago
Update change log [skip ci]

github.com/activerecord-hackery/ransack - e704775aa577670fe8d8f3daa5b2b5a825ccfab5 authored over 10 years ago
Follow-up: Remove unneeded specs after fix.

github.com/activerecord-hackery/ransack - b6585a0110215c5fd7490def47dec24c9ac3b36d authored over 10 years ago
Use Arel master with Rails 4.2/master for now. Fixes #444.

github.com/activerecord-hackery/ransack - f48d94a3bd2a38e5f94109c6358c352c03e11124 authored over 10 years ago
Add predicate tests for lteq, lt, gteq, and gt

A regression was introduced in Rails 4.2/master (or Arel),
where lteq and lt predicates accept n...

github.com/activerecord-hackery/ransack - 0fba76a7413f4e84f051cee68cfad273522a92cf authored over 10 years ago
:scissors: whitespace

github.com/activerecord-hackery/ransack - c31616b270d652b1993b7aac2f8267009f10b425 authored over 10 years ago
Update change log [skip ci]

github.com/activerecord-hackery/ransack - bf3e39b438bdd20e72f4cde76fc9ab89f6b30893 authored over 10 years ago
Fix failing spec with less DRY code just for Rails 3.x

github.com/activerecord-hackery/ransack - 85dfd9e6bf276422a0b77318b424e417171fbe5a authored over 10 years ago
Fix bypassed spec that was broken with Rails 4.2 /master

github.com/activerecord-hackery/ransack - 7d909036e716337535e4f941bcf1fb3e0ef97ad2 authored over 10 years ago
Freeze more one-off strings.

github.com/activerecord-hackery/ransack - 895f9a414511c0168cc3c82ea3130b280b94e224 authored over 10 years ago
Replace string with frozen constant.

github.com/activerecord-hackery/ransack - a2c059bc2108510dbefd1f815991f487242cc9ad authored over 10 years ago
Constant used only once, so freeze in-place instead.

github.com/activerecord-hackery/ransack - 56df66b71ea17493f4f2e3ce775a772d062faf1f authored over 10 years ago
Move string constants into Ransack::Constants

github.com/activerecord-hackery/ransack - dccc871a72da925a8ccf2dd02129fbaa1c30c1f7 authored over 10 years ago
This test is broken since yesterday by Rails master

because the form tag helper fields are no longer sorted.

Bypass it for now when running travis-...

github.com/activerecord-hackery/ransack - efcda15d96691bf153267ae53f0c7b1c54df1e42 authored over 10 years ago
Add a missing freeze

github.com/activerecord-hackery/ransack - d8fd8ef7528cd96bd7acf900716363d8815801ca authored over 10 years ago
Use constants instead of string keys.

At least until we are all using the upcoming Ruby 2.2 which
will make this unnecessary.

github.com/activerecord-hackery/ransack - 0ff7f0cdb1171b636f2535bf1ae2362bcc21d3d2 authored over 10 years ago
Conditions constant only used once, so not needed.

github.com/activerecord-hackery/ransack - 196042fbbe2ed6092dba5246c08ad27cb1389f09 authored over 10 years ago
No need for array here

github.com/activerecord-hackery/ransack - 96b62dc7db1a9fdc12cc48d444a826d5e16b70c5 authored over 10 years ago
Fix a conditional to handle the null case

Not passing an options hash into sort_link caused it to fail
to look up the link title.

This is...

github.com/activerecord-hackery/ransack - 31fc131936e0e5d09b4e26f2c14ecd13160b8726 authored over 10 years ago
Merge branch 'master' of https://github.com/activerecord-hackery/ransack

github.com/activerecord-hackery/ransack - f9945423663825b20ca83595ebbb280d3297c150 authored over 10 years ago
Avoid unneeded `try` call which adds object allocations

github.com/activerecord-hackery/ransack - 465e7ae52d9c675ef5ead2a8bee38bc67745267f authored over 10 years ago
Reference string constants rather than repeatedly

allocating the same string in order to deduplicate
commonly-used strings, reduce object allocati...

github.com/activerecord-hackery/ransack - 46ab1030f76f15dfcad2cb0867722b376a8b6d42 authored over 10 years ago
previous fix fixed correctly now

github.com/activerecord-hackery/ransack - b81bf44dc1b66497969f1fa01995d5e8952367c3 authored over 10 years ago
mongodb specs fixed for rails >= 4

github.com/activerecord-hackery/ransack - 1fbbbaefd85d3cf312b732078eb7ad0718903686 authored over 10 years ago
merged travis.yml, Gemfile and Context

github.com/activerecord-hackery/ransack - aeeaf597f6240afd81bc7d47d26313401c579722 authored over 10 years ago
Merge pull request #440 from asilano/master

Add 'tzinfo-data' to Gemfile for Windows environments, to help tests run on Windows

github.com/activerecord-hackery/ransack - acc3c8ade47196030361231b54b24e795ce512c4 authored over 10 years ago
Allow tests to run on Windows

Windows does not natively supply timezone info.
Install the tzinfo-data gem for Windows platforms.

github.com/activerecord-hackery/ransack - 4200ed5faaa56a9ca49618317e5ac216e6ea153e authored over 10 years ago
Simplify sort_link code examples in README docs.

[skip ci]

github.com/activerecord-hackery/ransack - d2e185de4cd202939f9efc8890c70319c7fd82d2 authored over 10 years ago
Update README about new sort_link features

and improve/simplify the first examples.

[skip ci]

github.com/activerecord-hackery/ransack - 5c4962a02e7bf9f6e02903e6b9db2edb1ca98b70 authored over 10 years ago
Merge branch 'master' of https://github.com/activerecord-hackery/ransack

github.com/activerecord-hackery/ransack - c775e88999a14618c7fbc9b7b9dd4d9d79eeff48 authored over 10 years ago
Update Change Log [skip ci]

github.com/activerecord-hackery/ransack - e4cb15fb653b76ba439416ba133f2825b1fa4497 authored over 10 years ago
Merge pull request #439 from caleb/multi-sort-link-readme

Add more examples of sort_link to README [skip ci]

github.com/activerecord-hackery/ransack - 3c1ef4d15dce0991b7f049a3f6cf592c86311b1a authored over 10 years ago
Add more examples of sort_link to README [skip ci]

Added an example of sorting on multiple fields with `sort_link`

github.com/activerecord-hackery/ransack - 6fecc4ed1911ddf1ee8540f1fcf0500d7fab6f66 authored over 10 years ago
Reduce object allocations in Ransack::Nodes::Sort

`try` allocates an array on every call; we should avoid calling
it in hotspots.

github.com/activerecord-hackery/ransack - 3b5c82bd288164af573c4b8b104f8c7e85960534 authored over 10 years ago
Reduce object allocations and speed up Ransack by

extracting commonly used strings into top level Ransack
constants.

github.com/activerecord-hackery/ransack - ea46d4d8deebed0c3a98080de7373e2ad8bff563 authored over 10 years ago
Memoize repeated Hash === conditional

github.com/activerecord-hackery/ransack - 0ed7ab9d66f0002911ad821af2bf45f32483ae32 authored over 10 years ago
Helpers::FormHelper: clean up, extract method, rename.

github.com/activerecord-hackery/ransack - dee6dab6c125296bb07f140dc27b1372fd907aff authored over 10 years ago
Follow-up to last commit [skip ci]

github.com/activerecord-hackery/ransack - 5183602fee5167c6b1f20d7a2805f7d4e497f105 authored over 10 years ago
Update Change Log: multiple sort fields [skip ci]

github.com/activerecord-hackery/ransack - 96fc34860a0683c29a050d3f76387f0cc6d77d34 authored over 10 years ago
Improve scopes documentation in README

[skip ci]

github.com/activerecord-hackery/ransack - 37250e7ce2986853aa8500ddb7bb087ad19bf2c1 authored over 10 years ago
Follow-up to #438, green tests for Rails 3.1 / 3.2

github.com/activerecord-hackery/ransack - 39e3368fca9925832c135bd5c6eccbf05038bd92 authored over 10 years ago
Merge pull request #438 from caleb/multiple-fields-sort-link

Add multiple sort field support in sort_link [skip ci]

github.com/activerecord-hackery/ransack - 75bf52b905f698dd1cbb07d952105293dc5fe9da authored over 10 years ago
Add spec for providing an override label

This spec ensures that the user can provide a label when specifying
multiple sort fields

github.com/activerecord-hackery/ransack - c46f3f3e1e2f77ee9b778021e3bb15c7f2b32578 authored over 10 years ago
Add multiple sort field support in sort_link

This patch allows users to sort on multiple fields with the sort_link
helper.

To specify sortin...

github.com/activerecord-hackery/ransack - bd22760223bde86ef2a604c72dc5b862ed199c80 authored over 10 years ago
Update README to point out 2 caveats with Scopes and

provide Gemfile info for using branches.

Minor example code change.

[skip ci]

github.com/activerecord-hackery/ransack - 79a262fd84cf8b815d8f3caa2be2f7e876ffee5a authored over 10 years ago
Revert "Update README to point out 2 caveats with scopes and"

This reverts commit cde3e0e6f2bf4dcf65d27f06f202c82ae57ea100.

github.com/activerecord-hackery/ransack - 380834011723e741330978cf2588195bccd2c578 authored over 10 years ago
Update README to point out 2 caveats with scopes and

provide Gemfile info for using branches.

Minor example code change.

[skip ci]

github.com/activerecord-hackery/ransack - cde3e0e6f2bf4dcf65d27f06f202c82ae57ea100 authored over 10 years ago
Add tests for sort_link through association

Initial beginning, to be improved…

github.com/activerecord-hackery/ransack - 9568dd48e00a3aeedff1df21e12eb89f4952fcc1 authored over 10 years ago
README: moar formatting for RubyGems YARD docs

github.com/activerecord-hackery/ransack - f46bc3d941715627b1b9c6febea301d80c34f1e2 authored over 10 years ago
Update Changelog [skip ci]

github.com/activerecord-hackery/ransack - 196d72284c0ef9701bcf2dc79b143ccd362b6062 authored over 10 years ago
Update README and fix formatting in RubyGems.

[skip ci]

github.com/activerecord-hackery/ransack - e66c223cdb819f891972d9144b93e4c5d7f89b1f authored over 10 years ago
Release 1.4.0 [skip ci]

github.com/activerecord-hackery/ransack - d88902b620aee1145222750264ef8313ae24224b authored over 10 years ago
Update Change Log, prepare for 1.4.0 release

[skip ci]

github.com/activerecord-hackery/ransack - ae892f0a350e12d529dfdf617604cce67dea6e08 authored over 10 years ago
Update README re Rails versions & Ransack branches

[skip ci]

github.com/activerecord-hackery/ransack - 80ab9481e18dcca789568b34717d623433dd6b7b authored over 10 years ago
Fix Rails 5.0 deprecation warning

github.com/activerecord-hackery/ransack - b62660a663d67810a205935df5e3a5c0730a5665 authored over 10 years ago
Fix test suite AR conditional in previous commit

as the test was not being run at all and should not be run
with Rails 4.2.

github.com/activerecord-hackery/ransack - 4f08923a766ba23322f562d875b7359aa960a4eb authored over 10 years ago
context_spec: fix ActiveRecord conditionals in test

for #join_sources.

github.com/activerecord-hackery/ransack - 71bfa06a35a4674472f4b45f28dbb7f325dd3f2c authored over 10 years ago
Update Travis-CI to test with Rails master (4.2.0)

Will likely not pass with Ruby 1.9 and we’ll have to add
an allow_failures exception…

github.com/activerecord-hackery/ransack - 0acddb812ed3fbd5e10a9fbcea7f84cb6ff85dd5 authored over 10 years ago
Try Rails 4.2.0/master on Ransack master

github.com/activerecord-hackery/ransack - f8835a5a81d41b5f5bb137d21c09764ed0d976b8 authored over 10 years ago
Simplify Travis-CI Ruby versioning

Load latest Ruby minor version as soon as travis-ci makes it available.

github.com/activerecord-hackery/ransack - f62fd0e8b40c0e5555d6fdc238e00a4ce709ef28 authored over 10 years ago
Merge pull request #432 from cubus/master

ActiveRecord I18n with singular+plural translation keys

github.com/activerecord-hackery/ransack - ba7d9f8aecbf1207038c3f685ef3c5c7eac9183f authored over 10 years ago
fix attribute translation for activerecord using STI having with both singular(one) and plural(other) translation keys

github.com/activerecord-hackery/ransack - 8460f8f5c8290c1b8f4505bc0a1d6bc06c4d68fb authored over 10 years ago
Merge pull request #1 from activerecord-hackery/master

rebase ....

github.com/activerecord-hackery/ransack - 9f284cb98a35c4fd711b27652bae92f9ed967903 authored over 10 years ago
Clarify class methods for whitelisting in base.rb

[skip ci]

github.com/activerecord-hackery/ransack - 43149202d17e3315ec3af42d5c8fd33caf0a4b5f authored over 10 years ago
Clarify ransackable_scopes is an array of symbols.

[skip ci]

github.com/activerecord-hackery/ransack - 0ea6ae2f41373d2187f7511fdd4a8f24fefb2db0 authored over 10 years ago
Make `ransackable/ransortable` methods clear/coherent

between implementation and docs.

github.com/activerecord-hackery/ransack - ec67ec6bd9fa288515e939aa90538c2168d1ed98 authored over 10 years ago
Update the change log [skip ci]

github.com/activerecord-hackery/ransack - d34e9b1518cf00d0ddea44a3bb9d801517b615de authored over 10 years ago
Follow-up to previous commit [skip ci]

github.com/activerecord-hackery/ransack - 170efc3e9f6b8bac625cee194c832b181934eb47 authored over 10 years ago
README: Provide an alternative to `distinct: true`

for cases when the latter is causing problems while
searching on associated table's columns.

...

github.com/activerecord-hackery/ransack - dcc0916470dfc6f7faa832f37a2451eafe6340fb authored over 10 years ago
Replace Hash#compact with #reject for Rails < 4.1

github.com/activerecord-hackery/ransack - 93dea68e05942aa238eef5b6ee80e818bfd62115 authored over 10 years ago
Refactor Ransack::Translate, esp. the attribute_name

class method, hopefully for better readability and
maintainability.

All these class methods mak...

github.com/activerecord-hackery/ransack - 8752f75d797f826af793302a9c4c83dc7417745b authored over 10 years ago
Merge pull request #428 from cubus/master

Add Romanian I18n. Fix attribute translations when using AR with STI.

github.com/activerecord-hackery/ransack - 70d2d231816b85836035613ae938c3fc426d6614 authored over 10 years ago
fix attribute translation for activerecord using STI

github.com/activerecord-hackery/ransack - af7f4877293e26eb1fb2909f33c1ae263080f150 authored over 10 years ago
README: Add missing `end` and improve explanation

in Scopes/Class Methods section.

[skip ci]

github.com/activerecord-hackery/ransack - 85b3d397c32854bf79a23f9eb6859af57aebd4bb authored over 10 years ago
Add missing argument to Scopes example [skip ci]

github.com/activerecord-hackery/ransack - 8e7253571071cdbec47fea86bfe7d489261a3177 authored over 10 years ago
Follow-up to last 2 commits on Scopes/Class Methods docs

[skip ci]

github.com/activerecord-hackery/ransack - 08fcc366151ad7b51d59e25b5a76a2c1470cddbc authored over 10 years ago
Follow-up to last commit [skip ci]

github.com/activerecord-hackery/ransack - 560168eb21b32682139c7159adedea2ef411b1b9 authored over 10 years ago
Add example code to Scopes docs in README

[skip ci]

github.com/activerecord-hackery/ransack - 6b6f232600ee481b2a23b365b326b08cd0b4e792 authored over 10 years ago
fix ro translation for predicate present

github.com/activerecord-hackery/ransack - a786f5e48bb2badb141738eca798f6b22823bd44 authored over 10 years ago
romanian translation bug - ups :)

github.com/activerecord-hackery/ransack - d99352a108df42d0731924a4b21e6767aeafd3b0 authored over 10 years ago
add romanian translation

github.com/activerecord-hackery/ransack - 12b8beba96a9c5c5d958042c73680e87133ec29f authored over 10 years ago
Improve the change log [skip ci]

github.com/activerecord-hackery/ransack - 620f53eb298d5b6f868759d3ffb5804ba31be8cc authored over 10 years ago
Begin a Ransack change log (work in progress)

[skip ci]

github.com/activerecord-hackery/ransack - 81312d616ee51515059691dbb106e7912bc8a551 authored over 10 years ago
README: OR grouping explanation follow-up [skip ci]

github.com/activerecord-hackery/ransack - b9e614a0e551278f81a6099c9f40fdeccbfcab3a authored over 10 years ago
README: further improvements to OR grouping section

[skip ci]

github.com/activerecord-hackery/ransack - 5e65cad16db61f08e7cab5730da11a0e664eb8ff authored over 10 years ago
REAME: follow-up improvement to 677ebc7

[skip ci]

github.com/activerecord-hackery/ransack - ab5e3b852f582cd24545de46389b1460c7047729 authored over 10 years ago
README: Add OR grouping controller code example to

help clarify how it works and help people try it out.

[skip ci]

github.com/activerecord-hackery/ransack - 677ebc713bd181b3924b6259fe5f70e0b4ac5c11 authored over 10 years ago
README: fix Associations code example [skip ci]

github.com/activerecord-hackery/ransack - fa218226d1f5848e89b16653abe6a005e7fca1fa authored over 10 years ago
README: Add an example of attribute chaining to the Associations

section, and improve the “Grouping queries by OR instead of AND”
section.

[skip ci]

github.com/activerecord-hackery/ransack - bf4294eae1702e0536ba38aba9358593cf05d588 authored over 10 years ago
README: move OR Grouping to its own section and

reorganize the sections a bit.

[skip ci]

github.com/activerecord-hackery/ransack - a669b976d610f2a32e33b1389b4f7cd64285703e authored over 10 years ago