How about using erb? <%= find_by_id(<some-id>) %>
On Mar 28, 1:41 pm, Heinz Strunk <[email protected]> wrote: > Heya, > > I'm using globalize2 and have following problem with my fixtures: > > categories.yml: > one: > parent_id: two > color: #ff00aa > > two: > color: #00ff11 > > three: > parent_id: two > color: #ab00ab > > category_translations.yml > one-en: > id: one > locale: en > name: Cars > > one-es: > id: one > locale: es > name: Coches > > two-en: > id: two > locale: en > name: Start > > two-es: > id: two > locale: es > name: Inicio > > three-en: > id: three > locale: en > name: Bicycles > > three-es: > id: three > locale: es > name: Bicicletas > > My problem now is that in my translations table all id's are NULL which > is kinda obvious cause the fixture has no idea where one, two and three > is. Does anyone know how to load a fixture inside a fixture in order to > use them? > -- > Posted viahttp://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 -~----------~----~----~----~------~----~------~--~---

