Hi Larry The following should work: state(:name, :abbrev)
Hope this helps :) -- Pat On 23/05/2010, at 1:47 AM, Larry wrote: > Hi, > > First things first: Thanks for this truly great gem!!! > > I know that you can drill down on associations and I know that > reserved words (e.g. name, id) should be turned into a symbol > (e.g. :name, :id). > > And I have seen examples where the reserved association/word comes at > the end of a "drill down", e.g. instead of state.name you should use > state(:name). > > But what if the reserved word occurs within the middle of a "drill > down", e.g. state.name.abbrev ? state(:name).abbrev doesn't work; does > anyone know what will? > > Thanks, > Larry > > -- > You received this message because you are subscribed to the Google Groups > "Thinking Sphinx" 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/thinking-sphinx?hl=en. > -- You received this message because you are subscribed to the Google Groups "Thinking Sphinx" 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/thinking-sphinx?hl=en.
