class Post

Posts written by users stored in database

Available scopes

Scopes are builtin methods to facilitate retrieving posts from the database. Scopes can also be chained to narrow your query even more.

published: Return posts that are published

drafted: Return posts that are NOT published

search_by_title: Return all post that have a title that match the key you provide

Constants

Content

Attributes

tags[W]