Refractored Subscription.rb Model Code