Displaying 4 results from an estimated 4 matches for "contentitem".
Did you mean:
content_item
2007 Jan 05
7
Hitting Files per Directory Limits with Ferret?
Hey all!
We''ve been using Ferret to great success these past six months. But
recently we''ved tried adding many new ContentItems (only thing being
index by Ferret at the moment), and things came crashing to a halt.
ferret gem: 0.10.9
acts_as_ferret plugin (not sure which version)
How we''re using the plugin:
class ContentItem < ActiveRecord::Base
acts_as_ferret :fields => { ''title''...
2005 Oct 28
2
Accessing fixture
...o
description: A demo site
created_on: 2005-10-25 00:00:00
updated_on: 2005-10-25 00:00:00
And I have a test class as:
require File.dirname(__FILE__) + ''/../test_helper''
class SiteTest < Test::Unit::TestCase
fixtures :sites,
:contenttypes,
:contentitems
def setup
end
def test_create
puts @sites
puts @sites["simple_site"]
end
end
When I attempt to print out the fixture I just get
nil. I thought you reference the fixture as an
instance variable with the name of the fixture file.
So I use "@sites" si...
2006 May 24
10
Ferret slow after a while
I''m building a new index from scratch based on a number of documents
stored in a database loaded using my Rails env (using Ruby Ferret 0.9x
(installed today with Gem) on Windows). At first everything goes nice
but after a number of documents it starts to go slower and slower until
it grinds to a halt (at least feels like it).
Am I doing something wrong? Is there some way to work
2004 Apr 22
4
boring question
<P>folks,<BR><BR>Sorry to disturb you with such a basic question, but I am
new to bandwidth control , shaper etc... I tried reading some doc
about it, but couldnĀ“t apply them to solve my (following problem):<BR><BR>I
have this..<BR><BR>[internet]------[eth0][linux box][eth1]--------[my
lan]<BR><BR><BR>ADSL (256k)<BR>eth0: