On Fri, Jan 12, 2007 at 12:47:32AM +0100, Peter Jones wrote: > Does AAF use object.id to get the id, or object.to_param? I have a few > models that override to_param to return something like "25-FooBar", but > id still returns 25.
aaf uses self.id to determine the value that goes into the :id field of the ferret index. see to_doc in instance_methods.rb . cheers, Jens -- webit! Gesellschaft für neue Medien mbH www.webit.de Dipl.-Wirtschaftsingenieur Jens Krämer [EMAIL PROTECTED] Schnorrstraße 76 Tel +49 351 46766 0 D-01069 Dresden Fax +49 351 46766 66 _______________________________________________ Ferret-talk mailing list [email protected] http://rubyforge.org/mailman/listinfo/ferret-talk

