Generated function for 'has' associations

32 views
Skip to first unread message

Graeme Defty

unread,
Nov 17, 2013, 10:36:30 AM11/17/13
to chica...@googlegroups.com
Basically there aren't any!

I just noticed (because I would like to have them) that although we have the generated 'belongs_to' set of functions to provide info on those associations, there are no such corresponding functions for the 'has' associations.

Any particular reason for this?

g

Graeme Defty

unread,
Jan 12, 2014, 7:39:05 PM1/12/14
to chica...@googlegroups.com
Hi All,

I guess I am the only one who needs this.  :-(

As of now, I have been reduced to creating and maintaining a list of 'has' associations manually. There has to be a better way!


I am guessing this is somewhere in the code that does a special compile (or transform?) of records.  If someone can give me a pointer to where this happens I am happy to see if I can do the necessary.

Cheers,

g



chan sisowath

unread,
Jan 12, 2014, 9:39:14 PM1/12/14
to chica...@googlegroups.com


2014/1/13 Graeme Defty <graeme...@gmail.com>
--
You received this message because you are subscribed to the Google Groups "ChicagoBoss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to chicagoboss...@googlegroups.com.
Visit this group at http://groups.google.com/group/chicagoboss.
To view this discussion on the web visit https://groups.google.com/d/msgid/chicagoboss/CAKF5fiBDtRO72Nw8%2BKwhU-83MtnAWHDTPWXZgXvmKE3_jPMD0g%40mail.gmail.com.

For more options, visit https://groups.google.com/groups/opt_out.

Reply all
Reply to author
Forward
0 new messages