jQuery ready must have 'page:load' in turbolinks
add published_at and buy_link to products and setting in the form
action setting publish state and set product scope
add buy link link_to judge
use ujs to message destroy action