#has_many
2 posts tagged has_many. Clear filter
-
Destroy Children In Rails 2.3
In the parent class place the following code This used to be accomplished with Check out the Rails docs for more information...
-
Validate Uniqueness on Join Tables in Rails
How to validate uniqueness in a :has\many :through relationship with Ruby on Rails. You'll need three models in this example List, Subscriber and ListSubscriber. A list has many subscribers and a...