Simple Rails App to add Licenses to your projects.
Simple Rails App to add Licenses to your projects.
Manage licenses:
rails console
Product.all
License.all
License.where(key: "KEY")
license_id
looking for your licensel = License.find(license_id)
l.quantity = 6
(example)l.save
Activation.where(license_id: license_id)
Activation.where(license_id: license_id).count
Product.create
/ License.create
/ l = License.new
and l.save