Displaying 20 results from an estimated 500 matches similar to: "Newbie having full text search problem with acts_as_ferret"
2007 Mar 31
8
Problem with setting up remote indexing
Hello,
I have been trying to set up the remote indexing for acts_as_ferret and
followed the guide here:
http://projects.jkraemer.net/acts_as_ferret/wiki/DrbServer
I added :remote => true to my models and then specified host and port
for the production environment.
After defining the host/port for production, I tried to run my
development server and received the following error:
2006 Jul 09
3
acts_as_ferret.. what does it actually do?
Okay in this plea for help I''m going to repeat some of what i posted
before but with a larger amount of background info in the hope that i
can get a decent grip on ferret before it wriggles away..
Firstly, what does installing the acts_as_ferret plugin actually do? I
install it and add it to my model and then the index is automatically
generated and a few methods are added to it and
2006 May 31
5
Help with sorting arrays with objects in it
I have to build an array through both activerecord and also through a ferret
index.
I was hoping to find a way of sorting the array as i combine the two so
def advanced_search(search_text, store, format, sortby)
# find items in ferret index
items = Item.find_by_contents(search_text)
# and now find all the items from a certain store or category
items_from_sql = Item.find_by_sql("SELECT *
2009 Sep 26
2
Config XLSUITE in Windows
I try to config XLSUITE in my system. I''m facing some problem i resolved
it one by one.
now im facing this error
=> Booting Mongrel (use ''script/server webrick'' to force WEBrick)
=> Rails 2.2.0 application starting on http://0.0.0.0:3000
=> Call with -d to detach
=> Ctrl-C to shutdown server
** Starting Mongrel listening at 0.0.0.0:3000
Exiting
2006 Jul 02
2
NoMethodError in Unit Test - Rails Newcomer
I''m working on user authentication system to get familiar with rails,
and have basically solved most of my apps problems till now. I keep
getting the NoMethodError, and can''t understand why.
Model: customer.rb
class Customer < ActiveRecord::Base
...
def self.password=(pass)
@password=pass
salt = Customer.random_string(10) if !salt?
self.hashed_password =
2007 Nov 09
2
Problem with stemming and AAF
I''m sure I''m missing something completely obvious here, so I hope
someone can point me in the right direction!
I''ve implemented a basic search with AAF, which works as expected; I''m
running a ferret drb server, and using will_paginate to page results.
The code in my search_controller.rb:
search_text = params[:query] || " "
@products =
2006 Apr 13
3
Salted Hash Login Generator problem
Im trying to install salted and get errors when running the rake test...
/usr/bin/ruby1.8 -Ilib:test
"/usr/lib/ruby/gems/1.8/gems/rake-0.7.0/lib/rake/rake_test_loader .rb"
"test/unit/localization_test.rb" "test/unit/user_test.rb"
Loaded suite
/usr/lib/ruby/gems/1.8/gems/rake-0.7.0/lib/rake/rake_test_loader
Started
........F....E
Finished in 0.108794 seconds.
1)
2006 Jul 28
8
Building a Search Page as part of CRUD
I''ve been experimenting with Rails over the past couple of days and
have come across something that seems harder than it should be. In
previous frameworks I have used (WebObjects, php) a full search page
(which leads into a list view populated with search results) was part
of the CRUD that was either dynamically or statically created after
specifying table/object schema. In
2008 Apr 21
2
Using Prototype Scripts and Google Spider?
Hey... Curious if you anyone has any experience with how Google Spiders
index content that is served via a Ajax Call... just curious, cause this
would have some impact on whether I would not i would use ajax in for
somethings
--
Joe Harman
m
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby on Rails:
2006 Jul 30
8
Method_missing from Ruby for Rails book
I''m having a problem getting this example from the book to work:
class Cookbook
attr_accessor :title, :author
def initialize
@recipes = []
end
def method_missing(m, *args, &block)
@recipes.send(m, *args, &block)
end
end
cb = Cookbook.new
cb << recipe_for_cake
cb << recipe_for_chicken
beef_dishes = cb.find_all {|recipes| recipe.main_ingredient ==
2009 Nov 12
8
"zfs send" from solaris 10/08 to "zfs receive" on solaris 10/09
I built a fileserver on solaris 10u6 (10/08) intending to back it up to
another server via zfs send | ssh othermachine ''zfs receive''
However, the new server is too new for 10u6 (10/08) and requires a later
version of solaris . presently available is 10u8 (10/09)
Is it crazy for me to try the send/receive with these two different versions
of OSes?
Is it possible the
2006 Aug 25
4
using conditions
Hello guys,
I''m pretty new to using AAF and am having a slight problem with using a
condition. I have the following code
@results = SupplierProduct.find_by_contents(params[:search], :conditions
=> [''area_id = ?'', @area])
and it seems the condition isn''t being applied. Does anyone have any
pointers?
Cheers,
Alastair
--
Posted via
2009 Nov 19
11
dtracing a forked process OR dynamic library
Hi,
I am tracking down a problem and would like to know how I can follow a
forked process with my dtrace script, or how I can trace a dynamic library.
Here is the problem. I am tracing dtlogin, and specifically I am trying
to determine what error libpkcs11`<routine> is returning. It turns out
dtlogin forks a lot of processes, and I believe the second forked
process is the one that winds
2001 Jul 13
1
data(package = "..") gives extraneous warning (PR#1024)
Not too hard to fix, the following buglet (new in 1.3.0),
but I'm about to leave for one week (of vacation)..
Here is an example (for Linux) :
lynne{sfs}214> cd /tmp
lynne{sfs}215> mkdir blue
lynne{sfs}216> cd blue
/tmp/blue
lynne{sfs}217> echo 'data(package = "mva")'|R-1.3.0 --vanilla
R : Copyright 2001, The R Development Core Team
Version 1.3.0
2018 May 30
2
Need help to understand about some lines which are printing on console
Hi,
Some lines are printing on console:
[CCafException] CAppConf@[1711]: CommAmqpListener: [CCafException] CAppConfig:: getString() Required config parameter [amqp_password] is missing from section [c ommunication_amqp]
Can you help me to understand why we are getting these lines on console?
How we can remove these lines from the console?
Please suggest.
Thanks & Regards,
Shagun
2010 Dec 23
31
SAS/short stroking vs. SSDs for ZIL
Hi,
as I have learned from the discussion about which SSD to use as ZIL
drives, I stumbled across this article, that discusses short stroking
for increasing IOPs on SAS and SATA drives:
http://www.tomshardware.com/reviews/short-stroking-hdd,2157.html
Now, I am wondering if using a mirror of such 15k SAS drives would be a
good-enough fit for a ZIL on a zpool that is mainly used for file
2007 Apr 23
0
Unknown column 'role' in field list
Hello,
I''ve added the field ''admin'' to my users database. When I did this,
my unit tests broke with an error similar to this one for every test:
ActiveRecord::StatementInvalid: Mysql::Error: Unknown column ''role'' in
''field list'': INSERT INTO users (`salt`, `hashed_password`, `role`,
`id`, `login`, `email`) VALUES (1000,
2024 Apr 04
5
[Bug 1743] New: Flowtable: Flows exiting OFFLOAD State being assigned value of nf_conntrack_tcp_timeout_unacknowledged
https://bugzilla.netfilter.org/show_bug.cgi?id=1743
Bug ID: 1743
Summary: Flowtable: Flows exiting OFFLOAD State being assigned
value of nf_conntrack_tcp_timeout_unacknowledged
Product: nftables
Version: 1.0.x
Hardware: x86_64
OS: other
Status: NEW
Severity: normal
Priority:
2016 May 14
1
Re: libvirt + openvswitch, <parameters interfaceid='x'/> seems less-than-useful?
On 05/13/16 20:04, Laine Stump wrote:
> On 05/13/2016 09:57 AM, Richard Harman wrote:
>> I've debugged this, and I think the interfaceid stuff in network XML
>> isn't doing much besides setting a custom interfaceid in an OpenVSwitch
>> table that really has no effect on the operation of OpenVSwitch. I
>> think the -- set Interface vnet0
2005 Feb 02
4
(no subject)
can you recommend a good manual for R that starts with a data set and gives
demonstrations on what can be done using R? I downloadedR Langauage
definition and An introduction to R but haven't found them overly useful.
I'd really like to be able to follow some tutorials using a dataset or many
datasets. The datasets I have available on R are
Data sets in package 'datasets':