Displaying 3 results from an estimated 3 matches for "records_for_rebuild".
2008 Jan 10
2
Error on manual indexing
...r/plugins/acts_as_ferret/
lib/bulk_indexer.rb:18:in `index_records''
from ./script/../config/../config/../vendor/plugins/acts_as_ferret/
lib/ferret_extensions.rb:52:in `index_model''
from ./script/../config/../config/../vendor/plugins/acts_as_ferret/
lib/class_methods.rb:66:in `records_for_rebuild''
from ./script/../config/../config/../vendor/rails/activerecord/lib/
active_record/connection_adapters/abstract/database_statements.rb:
59:in `transaction''
from ./script/../config/../config/../vendor/rails/activerecord/lib/
active_record/transactions.rb:95:in `transaction'...
2008 Jan 21
4
Rails app cannot connect to Ferret server
...localhost:9010)
/vendor/plugins/acts_as_ferret/lib/bulk_indexer.rb:18:in `index_records''
(druby://localhost:9010)
/vendor/plugins/acts_as_ferret/lib/ferret_extensions.rb:52:in
`index_model''
(druby://localhost:9010)
/vendor/plugins/acts_as_ferret/lib/class_methods.rb:66:in
`records_for_rebuild''
(druby://localhost:9010)
/usr/lib/ruby/gems/1.8/gems/activerecord-2.0.2/lib/active_record/connection_adapters/abstract/database_statements.rb:66:in
`transaction''
(druby://localhost:9010)
/usr/lib/ruby/gems/1.8/gems/activerecord-2.0.2/lib/active_record/transactions.rb:80:i...
2006 Nov 06
21
acts_as_ferret and associations
I have the following models:
class Book < ActiveRecord::Base
acts_as_ferret
belongs_to :author
end
class Author < ActiveRecord::Base
has_many :books
end
and in the controller:
def search
if params[:query]
@query = params[:query]
@total, @books = Book.full_text_search(@query, :page =>
(params[:page]||1))
@pages =