I''m attempting to implement acts_as_ferret, but I haven''t been able to find out how to create the first index. I see the "rebuild_index.rb" file, but it tells me "Uninitialized constant: Content" if I try to run it by itself, and I''m not sure if I can invoke it some other way. Any clues? Thanks, Jeff Coleman -- Posted via http://www.ruby-forum.com/.
i''m new to this too, but i think if just put acts_as_ferret at the top
of your
model, when you save or update the model the index is created automatically in
#{RAILS_ROOT}/index.
john
Quoting Jeff Coleman <progressions at gmail.com>:
>
> I''m attempting to implement acts_as_ferret, but I haven''t
been able to
> find out how to create the first index. I see the
"rebuild_index.rb"
> file, but it tells me "Uninitialized constant: Content" if I try
to run
> it by itself, and I''m not sure if I can invoke it some other way.
>
> Any clues?
>
> Thanks,
> Jeff Coleman
----------------------------------------------------------------
This message was sent using IMP, the Internet Messaging Program.
John McGrath wrote:> i''m new to this too, but i think if just put acts_as_ferret at the top > of your > model, when you save or update the model the index is created > automatically in > #{RAILS_ROOT}/index. > > johnThanks, John. I was transferring from another search plugin that required some more elaborate setup to get going, so I didn''t realize it would be that simple! Jeff -- Posted via http://www.ruby-forum.com/.