config.serve_static_assets true
record to db