On Tue, Sep 18, 2007 at 06:10:38AM +0200, Adam Jones wrote:
> I think i answered my own question.
> in the create method for my note i added
> Contact.find(params[:id]).ferret_create()

right, however I'd stick that code in a NotesObserver...

Jens

> Adam Jones wrote:
> > Thanks guys,
> > 
> > The above seems to work for me perfectly except when i add a new not it 
> > doesnt update the index. if i delete and rebuild the index it works 
> > fine. can some one stear me in the right direction please i am guesing i 
> > have to add some metod to the create function in my notes_controller to 
> > update the index ???
> > 
> -- 
> Posted via http://www.ruby-forum.com/.
> _______________________________________________
> Ferret-talk mailing list
> Ferret-talk@rubyforge.org
> http://rubyforge.org/mailman/listinfo/ferret-talk
> 

-- 
Jens Krämer
http://www.jkraemer.net/ - Blog
http://www.omdb.org/     - The new free film database
_______________________________________________
Ferret-talk mailing list
Ferret-talk@rubyforge.org
http://rubyforge.org/mailman/listinfo/ferret-talk

Reply via email to