ruby (3)
![](https://d33wubrfki0l68.cloudfront.net/b266f97bfa6f94389e015efdd608e198afacf05e/d66f0/blog/ruby-array-sorting/ruby.jpg)
Sorting multidimensional works with a few caveats
Recently at work, I've been doing some work on a project written in Ruby to enable an endpoint to paginate. Something we need for our mobile apps so we can make a list more performant. In the proces... Keep Reading
#ruby#array#sorting![](https://d33wubrfki0l68.cloudfront.net/0a6a698f32146f0cf78e138b223710a890c78160/07c26/blog/jekyll-post-aggregation/jekyll.jpg)
Setting up a custom variable on your posts that makes it really easy to aggregate posts on a page
Jekyll makes it super easy to create pages and posts and then loop over them to render lists of them. There are a few commands that you can utilize in Liquid to narrow down that list for only render... Keep Reading
#jekyll#ruby![](https://d33wubrfki0l68.cloudfront.net/8b42af6fdb3735782084ce8e4e280634fff27f93/f63ef/blog/liquid-slice-array/tiles.jpg)
Need to assign a new variable with a subset of an array. Insert slicing.
While liquid has a way to ensure that a for loop will exit once it hits a certain iteration. You may need to slice an array of items outside of a for loop. After some time on Google, I couldn't find... Keep Reading
#liquid#ruby#jekyll