I'm back in business after the combination of a new git pull and placing :accessible => true only on the belongs_to lines of the relationship class. Given your example of a group has many members through memberships, that would be the membership class.
On a slightly related topic, I still found it necessary to patch <def tag="name-one"> in hobo/taglibs/rapid_forms.dryml as I described in this thread: http://groups.google.com/group/hobousers/browse_thread/thread/69e208321ccf2dbb/c4075f6338316907#c4075f6338316907 Otherwise the autocompleter only works when editing existing memberships, not when editing new ones. I've also noticed that in my model validation methods there is no way to distinguish between the case where an autocompleted association value is blank because the user left it blank on purpose and where it is blank because the user mistyped a name. Or at least I haven't thought of a way yet. This would be useful for catching typos in cases where the association is not mandatory. On Dec 9, 5:04 am, Tom Locke <[EMAIL PROTECTED]> wrote: > Whenever you don't have :accessible => true somewhere where you need > it, you will get an exception like: > > > ActiveRecord::AssociationTypeMismatch (User expected, got String): > > So that is *probably* the problem > > Tom --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Hobo Users" 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/hobousers?hl=en -~----------~----~----~----~------~----~------~--~---
