Ugh, silly error. Turns out I forgot to add these to attr_accessible
for my object. Still can't view the records in my join table, but the
are there so it's workin at least.

On Jun 4, 10:56 am, Roland <[EMAIL PROTECTED]> wrote:
> I'm trying to create a has_and_belongs_to_many association, however
> when I create the associated table, Heroku automatically inserts the
> "id" column, which breaks HABTM. If I then remove "id" it breaks the
> table as far as Heroku is concerned and it's as though the table
> doesn't exist. You can't view the schema in the Data tab and after the
> first access, I get a NoMethodError every time I try to use it through
> the console for testing.
>
> I've done searches but there's only been two posts on this subject,
> neither of which seems to have been resolved. Is this something that
> the devs are aware of, or that anyone else has managed to fix, or get
> around?
>
> Thanks,
> Roland
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Heroku" 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/heroku?hl=en
-~----------~----~----~----~------~----~------~--~---

  • HABTM Roland
    • Re: HABTM Roland

Reply via email to