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
Add failing test and fix for #437
882ee4cdc83dc137fd23fc4f00ad79e5b494a305 authored over 10 years agoand not ‘Name’.
1778584dd3049d8caeb73ab807c0252480cb63eb authored over 10 years agoGive person a ```belongs_to``` association to group for testing
Fix for #437
eac62ff04471c9d07eff4a00588ae8468845a865 authored over 10 years ago
075b879604f777e0a78a0e575d3623c92cbf6db7 authored over 10 years ago
47db248da4e7143ba827b7b8534337932d73479c authored over 10 years ago
e704775aa577670fe8d8f3daa5b2b5a825ccfab5 authored over 10 years ago
b6585a0110215c5fd7490def47dec24c9ac3b36d authored over 10 years ago
f48d94a3bd2a38e5f94109c6358c352c03e11124 authored over 10 years ago
A regression was introduced in Rails 4.2/master (or Arel),
where lteq and lt predicates accept n...
c31616b270d652b1993b7aac2f8267009f10b425 authored over 10 years ago
bf3e39b438bdd20e72f4cde76fc9ab89f6b30893 authored over 10 years ago
58e1496ef1c3b793a3c1828bf7b3b5342bd5388b authored over 10 years ago
85dfd9e6bf276422a0b77318b424e417171fbe5a authored over 10 years ago
7d909036e716337535e4f941bcf1fb3e0ef97ad2 authored over 10 years ago
895f9a414511c0168cc3c82ea3130b280b94e224 authored over 10 years ago
a2c059bc2108510dbefd1f815991f487242cc9ad authored over 10 years ago
56df66b71ea17493f4f2e3ce775a772d062faf1f authored over 10 years ago
dccc871a72da925a8ccf2dd02129fbaa1c30c1f7 authored over 10 years ago
because the form tag helper fields are no longer sorted.
Bypass it for now when running travis-...
efcda15d96691bf153267ae53f0c7b1c54df1e42 authored over 10 years agod8fd8ef7528cd96bd7acf900716363d8815801ca authored over 10 years ago
At least until we are all using the upcoming Ruby 2.2 which
will make this unnecessary.
196042fbbe2ed6092dba5246c08ad27cb1389f09 authored over 10 years ago
96b62dc7db1a9fdc12cc48d444a826d5e16b70c5 authored over 10 years ago
Not passing an options hash into sort_link caused it to fail
to look up the link title.
This is...
31fc131936e0e5d09b4e26f2c14ecd13160b8726 authored over 10 years agof9945423663825b20ca83595ebbb280d3297c150 authored over 10 years ago
465e7ae52d9c675ef5ead2a8bee38bc67745267f authored over 10 years ago
allocating the same string in order to deduplicate
commonly-used strings, reduce object allocati...
b81bf44dc1b66497969f1fa01995d5e8952367c3 authored over 10 years ago
1fbbbaefd85d3cf312b732078eb7ad0718903686 authored over 10 years ago
aeeaf597f6240afd81bc7d47d26313401c579722 authored over 10 years ago
Add 'tzinfo-data' to Gemfile for Windows environments, to help tests run on Windows
acc3c8ade47196030361231b54b24e795ce512c4 authored over 10 years ago
Windows does not natively supply timezone info.
Install the tzinfo-data gem for Windows platforms.
[skip ci]
d2e185de4cd202939f9efc8890c70319c7fd82d2 authored over 10 years agoand improve/simplify the first examples.
[skip ci]
5c4962a02e7bf9f6e02903e6b9db2edb1ca98b70 authored over 10 years agoc775e88999a14618c7fbc9b7b9dd4d9d79eeff48 authored over 10 years ago
e4cb15fb653b76ba439416ba133f2825b1fa4497 authored over 10 years ago
Add more examples of sort_link to README [skip ci]
3c1ef4d15dce0991b7f049a3f6cf592c86311b1a authored over 10 years agoAdded an example of sorting on multiple fields with `sort_link`
6fecc4ed1911ddf1ee8540f1fcf0500d7fab6f66 authored over 10 years ago
`try` allocates an array on every call; we should avoid calling
it in hotspots.
extracting commonly used strings into top level Ransack
constants.
0ed7ab9d66f0002911ad821af2bf45f32483ae32 authored over 10 years ago
dee6dab6c125296bb07f140dc27b1372fd907aff authored over 10 years ago
5183602fee5167c6b1f20d7a2805f7d4e497f105 authored over 10 years ago
96fc34860a0683c29a050d3f76387f0cc6d77d34 authored over 10 years ago
[skip ci]
37250e7ce2986853aa8500ddb7bb087ad19bf2c1 authored over 10 years ago39e3368fca9925832c135bd5c6eccbf05038bd92 authored over 10 years ago
Add multiple sort field support in sort_link [skip ci]
75bf52b905f698dd1cbb07d952105293dc5fe9da authored over 10 years ago
This spec ensures that the user can provide a label when specifying
multiple sort fields
This patch allows users to sort on multiple fields with the sort_link
helper.
To specify sortin...
bd22760223bde86ef2a604c72dc5b862ed199c80 authored over 10 years agoprovide Gemfile info for using branches.
Minor example code change.
[skip ci]
79a262fd84cf8b815d8f3caa2be2f7e876ffee5a authored over 10 years agoThis reverts commit cde3e0e6f2bf4dcf65d27f06f202c82ae57ea100.
380834011723e741330978cf2588195bccd2c578 authored over 10 years agoprovide Gemfile info for using branches.
Minor example code change.
[skip ci]
cde3e0e6f2bf4dcf65d27f06f202c82ae57ea100 authored over 10 years agoInitial beginning, to be improved…
9568dd48e00a3aeedff1df21e12eb89f4952fcc1 authored over 10 years agof46bc3d941715627b1b9c6febea301d80c34f1e2 authored over 10 years ago
196d72284c0ef9701bcf2dc79b143ccd362b6062 authored over 10 years ago
80ef3a433520f028ec087721ec491a5be837fdad authored over 10 years ago
[skip ci]
e66c223cdb819f891972d9144b93e4c5d7f89b1f authored over 10 years agod88902b620aee1145222750264ef8313ae24224b authored over 10 years ago
[skip ci]
ae892f0a350e12d529dfdf617604cce67dea6e08 authored over 10 years ago[skip ci]
80ab9481e18dcca789568b34717d623433dd6b7b authored over 10 years agob62660a663d67810a205935df5e3a5c0730a5665 authored over 10 years ago
as the test was not being run at all and should not be run
with Rails 4.2.
for #join_sources.
71bfa06a35a4674472f4b45f28dbb7f325dd3f2c authored over 10 years ago
Will likely not pass with Ruby 1.9 and we’ll have to add
an allow_failures exception…
f8835a5a81d41b5f5bb137d21c09764ed0d976b8 authored over 10 years ago
Load latest Ruby minor version as soon as travis-ci makes it available.
f62fd0e8b40c0e5555d6fdc238e00a4ce709ef28 authored over 10 years agoActiveRecord I18n with singular+plural translation keys
ba7d9f8aecbf1207038c3f685ef3c5c7eac9183f authored over 10 years ago8460f8f5c8290c1b8f4505bc0a1d6bc06c4d68fb authored over 10 years ago
rebase ....
9f284cb98a35c4fd711b27652bae92f9ed967903 authored over 10 years ago[skip ci]
43149202d17e3315ec3af42d5c8fd33caf0a4b5f authored over 10 years ago[skip ci]
0ea6ae2f41373d2187f7511fdd4a8f24fefb2db0 authored over 10 years ago897ac956447893df57527bd03ebd7153dbc3e803 authored over 10 years ago
811903fd7c02359f495f4c58428811e92829ae48 authored over 10 years ago
between implementation and docs.
ec67ec6bd9fa288515e939aa90538c2168d1ed98 authored over 10 years agod34e9b1518cf00d0ddea44a3bb9d801517b615de authored over 10 years ago
170efc3e9f6b8bac625cee194c832b181934eb47 authored over 10 years ago
for cases when the latter is causing problems while
searching on associated table's columns.
...
dcc0916470dfc6f7faa832f37a2451eafe6340fb authored over 10 years ago88ee94be765a6f7ddc7dc79ab3ccc79803d82b54 authored over 10 years ago
93dea68e05942aa238eef5b6ee80e818bfd62115 authored over 10 years ago
class method, hopefully for better readability and
maintainability.
All these class methods mak...
8752f75d797f826af793302a9c4c83dc7417745b authored over 10 years agoAdd Romanian I18n. Fix attribute translations when using AR with STI.
70d2d231816b85836035613ae938c3fc426d6614 authored over 10 years agoaf7f4877293e26eb1fb2909f33c1ae263080f150 authored over 10 years ago
in Scopes/Class Methods section.
[skip ci]
85b3d397c32854bf79a23f9eb6859af57aebd4bb authored over 10 years ago8e7253571071cdbec47fea86bfe7d489261a3177 authored over 10 years ago
[skip ci]
08fcc366151ad7b51d59e25b5a76a2c1470cddbc authored over 10 years ago560168eb21b32682139c7159adedea2ef411b1b9 authored over 10 years ago
[skip ci]
6b6f232600ee481b2a23b365b326b08cd0b4e792 authored over 10 years agoa786f5e48bb2badb141738eca798f6b22823bd44 authored over 10 years ago
d99352a108df42d0731924a4b21e6767aeafd3b0 authored over 10 years ago
12b8beba96a9c5c5d958042c73680e87133ec29f authored over 10 years ago
620f53eb298d5b6f868759d3ffb5804ba31be8cc authored over 10 years ago
[skip ci]
81312d616ee51515059691dbb106e7912bc8a551 authored over 10 years agob9e614a0e551278f81a6099c9f40fdeccbfcab3a authored over 10 years ago
[skip ci]
5e65cad16db61f08e7cab5730da11a0e664eb8ff authored over 10 years ago[skip ci]
ab5e3b852f582cd24545de46389b1460c7047729 authored over 10 years agohelp clarify how it works and help people try it out.
[skip ci]
677ebc713bd181b3924b6259fe5f70e0b4ac5c11 authored over 10 years agofa218226d1f5848e89b16653abe6a005e7fca1fa authored over 10 years ago
section, and improve the “Grouping queries by OR instead of AND”
section.
[skip ci]
bf4294eae1702e0536ba38aba9358593cf05d588 authored over 10 years agoreorganize the sections a bit.
[skip ci]
a669b976d610f2a32e33b1389b4f7cd64285703e authored over 10 years ago