The problem is this:

Here's somewhat what I'm trying to get working:

  class Membership < ActiveRecord::Base
  end
  class Plan < ActiveRecord::Base
  end
  class MultiUser < Plan
    has_many :users
  end

  class SingleUser < Plan
     has_one :user
  end

  class User < ActiveRecord::Base
  end

and then in my user table I would have a membership_id but no
plan_id...

I dont know quite much how to explain this better than by what I have
written above, ask questions if unclear. Thank you


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Spinoffs" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-spinoffs?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to