# Subscription model

**URL:** <https://www.ruby-forum.com/t/subscription-model/126221>\
**Category:** Rails\
**Created:** [January 16, 2008, 1:56pm UTC](https://www.ruby-forum.com/t/subscription-model/126221 "2008-01-16T13:56:27Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![kuma](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/k/a587f6/32.png) [@kuma](https://www.ruby-forum.com/u/kuma)\
**Post date:** [January 16, 2008, 1:56pm UTC](https://www.ruby-forum.com/t/subscription-model/126221/1 "2008-01-16T13:56:27Z")

</div>

I’m curious if anyone has any examples they would like to share on how  
to  
implement tiered subscriptions. I’ve seen a few methods myself, but I’d  
like  
to know how others are doing it.

I’ve seen

User has\_many :subscriptions  
User has\_one :current\_subscription

I’ve also seen the subscription info stored as a hash. I don’t like that  
as  
much, but it is quick and dirty.

What I am really interested in is how you check for permissions?  
Controller  
level? Model level?

I’d appreciate any insight you have to offer. Thanks in advance!

-b
