Skip to content

Array and preload filters ​

Last updated View as Markdown
  • You can use font and fetch in the as option of preload_tag.
  • You can pass more options to preload_tag. Each option is added to the tag as an attribute.
  • With compact, only nil items are deleted. Empty strings, 0 and false are kept.
  • You can pass nil to compact and uniq. You get an empty array.
  • You can give a property name to compact and uniq.

Last updated: