Files
grecia/app/controllers/concerns
Javi Martín 9f689c21a2 Rename filter method to filter_by
Ruby 2.6 introduces `Enumerable#filter` as an alias to
`Enumerable#select`, and so our Filterable.filter method will not work
with Ruby 2.6.

So we're renaming the method to `filter_by`, which is similar to
`find_by`. We could also change the `filter` method so if a block is
given it delegates to `Enumerable#filter`, the same way ActiveRecord
handles the `select` method, but IMHO this is easier to follow.
2020-10-29 11:29:45 +01:00
..
2019-11-10 00:34:45 +01:00
2015-07-15 13:32:13 +02:00
2015-09-04 11:50:29 +02:00
2019-03-25 13:22:35 +01:00