app/models/entity_visibility.rb
def visible_after?(now)
    return true if visibility_visible?

    return false if visibility_hidden?

    return true unless visible_after_at?

    visible_after_at < now
  end
# When scoping, it only makes sense to scope by `hidden`
# or `visible` for the specified time.
When scoping, it only makes sense to scope by `hidden`
or `visible` for the specified time.
When scoping it only makes sense to scope by ` hidden ` or ` visible ` for the specified time .
def visible_after?(now)
    return true if visibility_visible?
    return false if visibility_hidden?
    return true unless visible_after_at?
    visible_after_at < now
  end
def visible_after? ( now ) return true if visibility_visible? return false if visibility_hidden? return true unless visible_after_at? visible_after_at < now end
When scoping, it only makes sense to scope by `hidden`
or `visible` for the specified time.
When scoping it only makes sense to scope by ` hidden ` or ` visible ` for the specified time .
now