Paulo Geyer wrote:
> i didn't create the model CategoriesEmpresas,

You don't need that if you're using habtm.  You only need the join model 
if you're using :through.

>  and the table had the
> "id" field, that was the problem

Yes, that apparently gets in the way.

> just another case of someone trying to use the framework without
> reading carefully the documentation

:)

> 
> thanks Eric!

Best,
--
Marnen Laibow-Koser
http://www.marnen.org
[email protected]
-- 
Posted via http://www.ruby-forum.com/.

--~--~---------~--~----~------------~-------~--~----~
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