#1039 suggestion

singular_ids method for has n associations

Reported by BrianTheCoder | September 11th, 2009 @ 05:39 PM

So if I have a has n, :photos or has n, :photos, :through => Resource I should also have a photo_ids method that will take a string of comma separated ids or an array of ids and build an association through that. Here's a patch for the later use case.


Comments and changes to this ticket

Please Sign in or create a free account to add a new ticket.

With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.

New-ticket Create new ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile »