On Lunes, 20 de Septiembre de 2010 09:53:34 Michael Bahnmiller escribió: > Sergio, > > Well, I'm trying to come up with some kind of work-around to that > has_one :through bug that we've been discussing. Still can't save it if > it's a has_many... but I _can_ save it if it's a has_many.
A has_one :through cannot use a has_many association for :through option. It's a documented restriction > > Thanks! > Michael > > On 09/20/2010 01:18 AM, Sergio Cambra .:: entreCables S.L. ::. wrote: > > On Viernes, 17 de Septiembre de 2010 20:18:00 mikelb escribió: > >> Hi all, > >> > >> Do you think there might be a way to trick RecordSelect into only > >> pulling up a single record, instead of allowing the user to add > >> multiple, with a has_many? > >> > >> Many thanks, > >> Michael > > > > If you want select only one record, why don't you change has_many to > > has_one? -- Sergio Cambra .:: entreCables S.L. ::. Mariana Pineda 23, 50.018 Zaragoza T) 902 021 404 F) 976 52 98 07 E) [email protected] -- You received this message because you are subscribed to the Google Groups "ActiveScaffold : Ruby on Rails plugin" 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/activescaffold?hl=en.
