Annotations (#327)

* Add annotate gem to the project
* Annotate models, fixtures, factories and model_specs
* Keep annotations only in Models
* Remove unwanted changes in model specs
* Exclude auto_annotate_models from rubocop
This commit is contained in:
Mukesh Chaudhary
2019-11-30 19:09:55 +05:30
committed by Sojan Jose
parent 60e96f446e
commit c08074b981
18 changed files with 335 additions and 0 deletions

View File

@@ -1,3 +1,19 @@
# == Schema Information
#
# Table name: subscriptions
#
# id :integer not null, primary key
# billing_plan :string default("trial")
# expiry :datetime
# payment_source_added :boolean default(FALSE)
# pricing_version :string
# state :integer default("trial")
# created_at :datetime not null
# updated_at :datetime not null
# account_id :integer
# stripe_customer_id :string
#
class Subscription < ApplicationRecord
include Events::Types