I\'m looking for suggestions on how to track the number of tags associated with a particular object in Rails. I\'m using acts_as_taggable_on and it\'s working fine. What I would like to be able to do
I have the following relationships in JPA (hibernate). Object X has two subclasses, Y and Z. Object A has a manyToOne relationship to object X. (Note, this is a one-sided relationship so object X ca
I\'ve run into a situation that I am not quite sure how to model. EDIT: The code below now represent a working solution. I am still interested in nicer looking solutions, though.
Models: * Person * Club Relationships * Membership * Committee People should be able to join a club (Membership)
I have two simple models each with acts_as_tree, say Departments and Employees. My goal is to create a treeview combining both models in to one overall tree, like so:
I have a system where I need to login three user types: customers, companies, and vendors from one login form on the home page.
Is there an easy or at least elegant way to prevent duplicate entries in polymorphic has_many through associations?
I am trying to associate Contacts with Classes but as two different types. Current_classes and Interested_classes.
I have created a polymorphic association around a model called status. Some contacts will have a status associate开发者_开发问答d with it.Many won\'t.
This is my first post on Stack Overflow. I am trying to build a system that authenticates three types of user with completely different site experiences: Customers, Employers, and Vendors.