On Mar 18, 9:42 am, martins <[email protected]> wrote:
This
> class AchievoProject < ActiveRecord::Base
and this
> has_and_belongs_to_many :projects, :class_name =>
> "AchievoProjects", :join_table => "project_person", :foreign_key =>
> "personid"
must match: if you tell active record that the class is called
AchievoProjects but it's actually called AchievoProject then it's not
going to fly.
Fred
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---