Sha256: 8d7703f2766e0b568b35ec02d4e7cd97e630039d6c2582176090d51efb610ed7
Contents?: true
Size: 1.9 KB
Versions: 6
Compression:
Stored size: 1.9 KB
Contents
h4 = I18n.t("liquor_help.scopes_title") p ul li var find_by p span = I18n.t('liquor_help.scopes.find_by.main_description') p code | {% assign news_page = index.children.find_by(title: 'News') %} li var find_all_by p span = I18n.t('liquor_help.scopes.find_all_by.main_description') p code | {% for p in: index.children.find_all_by(published: true) do: %} li var except p span = I18n.t('liquor_help.scopes.except.main_description') p code | {% assign correct_pages = index.children.except(excepted_page) %} li var find_except_by p span = I18n.t('liquor_help.scopes.find_except_by.main_description') p code | {% for p in: index.children.find_except_by(hidden: true) do: %} li var limit p span = I18n.t('liquor_help.scopes.limit.main_description') p code | {% for post in: models.posts.limit(3) do: %} li var offset p span = I18n.t('liquor_help.scopes.offset.main_description') p code | {% for post in: models.posts.limit(3).offset(3) do: %} li var first p span = I18n.t('liquor_help.scopes.first.main_description') p code | {% assign first_post = models.posts.first %} li var last p span = I18n.t('liquor_help.scopes.last.main_description') p code | {% assign last_post = models.posts.last %} li var | [] p span = I18n.t('liquor_help.scopes.by_index.main_description') p code | {% assign third_post = models.posts[2] %} li var pluck p span = I18n.t('liquor_help.scopes.pluck.main_description') p code | {% for post_title in: models.posts.pluck('title') %}
Version data entries
6 entries across 6 versions & 1 rubygems