Pawel Paczkowski

Results 2 comments of Pawel Paczkowski

@rmosolgo in Mongoid v4.x folllowing query will respect skip and offset ```ruby def relation_count(relation) relation.all.count(true) end ``` After v5 this one will work ```ruby def relation_count(relation) relation.all.count(relation.options.slice(:limit, :skip)) end ```

It looks like that project https://github.com/twilson63/html2haml went down after Heroku canceled their free tier. The workaround would be to deploy it somewhere else and change the URL. https://github.com/twilson63/html2haml/issues/38