Heinz Strunk wrote: > categories.yml: > one: > parent_id: two > color: #ff00aa
one's raw ID is a hash of its identifier. Get it with <%= Fixture.identify(:one) %> > two: > color: #00ff11 > > three: > parent_id: two That should be parent: two Only use Fixture.identify() if you can't link up the real identifier, through either belongs_to or has_and_belongs_to_many. The point is to allow the Fixture system to install one database table by reading the minimum possible of its associated model, and by reading no other model or fixture file. If globalize2 can't track these associations, you must use either Fixture.identify(), or you must fall back to old-fashioned Rails 1 fixtures, where everything has an id: with a hand-coded number in it... --~--~---------~--~----~------------~-------~--~----~ 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 rubyonrails-talk@googlegroups.com To unsubscribe from this group, send email to rubyonrails-talk+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---