Aura Aura site_empty?

site_empty?

Checks if the site is empty.

All content models are queried to see if there are any records available. Content models are determined by checking if the model classes respond

content? as true.

Example

if Aura.site_empty?
  page = Page.new :title => "Hello"
  page.save
  assert Aura.site_empty? == false
end