Fred, thanks for the reply.  That would seem to be logical and one of
the first things I checked.  The table definition for the relationship
table is (pulled straight from the production db):

CREATE TABLE IF NOT EXISTS `users_roles` (
  `user_account_id` bigint(20) NOT NULL,
  `user_role_id` bigint(20) NOT NULL,
  KEY `FKF6CCD9C617041664` (`user_role_id`),
  KEY `FKF6CCD9C63044D5F0` (`user_account_id`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1;

Any other ideas (or do you see something I don't)?  This one is
driving me nuts and has me totally shut down : /

G


On Apr 13, 6:16 am, Frederick Cheung <[email protected]>
wrote:
> On Apr 13, 2:13 am, Gerald Anderson <[email protected]> wrote:
>
> > If I remove the role assignment, everything is just peachy (finds,
> > saves, destroys, etc), but the second I try to save roles everything
> > blows sky-high with this message that, frankly, I don't get.  It knows
> > its got the roles, there is no nil object that I can tell. . .and
> > basically if I wasn't already bald I'd be pulling my hair out ; )
>
> A cursory examination of the arel code suggests this might happen if
> one of the columns you name doesn't in fact exist
>
> Fred
>
>
>
>
>
>
>
>
>
> > Any insight into this is EXTREMELY appreciated!
>
> > Gerald

-- 
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" 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/rubyonrails-talk?hl=en.

Reply via email to