Harold wrote: > How about using erb? > > <%= find_by_id(<some-id>) %> > > On Mar 28, 1:41�pm, Heinz Strunk <rails-mailing-l...@andreas-s.net>
First of all: I don't know the id because it's set randomly :) I could set it in the other yml and then just use them but I'd actually prefer using rails generated ids. I could use find_by_whatever but I'd like to use fixtures only if possible. -- 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 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 -~----------~----~----~----~------~----~------~--~---