Updated Refractored Subscription.rb Model Code