Moncef Belyamani

Results 68 comments of Moncef Belyamani

I just found this gem and would like to use it with Mongoid 3.1.4. Will Mongoid 3 support be available anytime soon? If not, are there any other projects similar...

I looked through the changes between 1.1.1 and 1.2.0 here: https://github.com/kaminari/kaminari/compare/v1.1.1...v1.2.0 and I found the bug. This is the breaking change in `page_entries_info` in `helper_methods.rb`: from this: ```ruby t( 'helpers.page_entries_info.more_pages.display_entries',...

This fails in the scenario where you use `paginate_array` with an empty array and the total count option. For example: ```ruby test 'with total_count option' do users = Kaminari.paginate_array([], total_count:...

It looks like in 1.2.1, this is now causing an exception: ``` ActionView::Template::Error: Array can't be coerced into Integer # /Users/moncef/.gem/ruby/2.6.6/gems/kaminari-core-1.2.1/lib/kaminari/helpers/helper_methods.rb:208:in `+' # /Users/moncef/.gem/ruby/2.6.6/gems/kaminari-core-1.2.1/lib/kaminari/helpers/helper_methods.rb:208:in `page_entries_info' # ./app/views/component/locations/results/_header_summary.html.haml:19:in `_app_views_component_locations_results__header_summary_html_haml___645785241305980862_70318242620360' ```

@amatsuda Hi. Any feedback on this PR?

I have come across a couple of projects that provide encryption and decryption of attributes: https://github.com/attr-encrypted/attr_encrypted http://rocketjob.github.io/symmetric-encryption/index.html Thoughts on any of those?

@nertzy Thanks for the details and the suggestion. Adding `.select("pg_search.rank", "locations.id")` to the end of my scope that uses pg_search only fixed a few search queries, but introduced a new...

@nertzy I wanted to give you an update on this issue from the current master branch. If I don't change my current code, I get a similar error as the...

This is related to #166 that I opened earlier today. It would be great to know if it's possible to narrow down search results based on two or more parameters,...