similar to: SearchGenerator: Results list duplication

Displaying 20 results from an estimated 30000 matches similar to: "SearchGenerator: Results list duplication"

2006 May 22
0
Need help with searchgenerator
Hi, I installed rails searchgenerator. When i run ''ruby script/generate search Search --inspect'' to check the models that are searchable, it returns none. I''ve about 9 models in my application. Why is none of the models searchable? I did work when i run ''ruby script/generate search Search --inspect'' on the example from Agile book. Thanks, Adi. --
2006 Jan 11
0
Partial View with SearchGenerator - HELP.
Has anyone here used the SearchGenerator? I''m having trouble setting up the "Partial" view, the documentation makes me think a Partial template is included, but I don''t see one. I have the search index and generic view file. Anyone have the code that is in partial view? Or how to set it up? I''d like to have the description of an article come up, with a link
2006 Jan 30
0
SearchGenerator Question..
I''ll admit I''m fairly new with ruby on rails...but i''m plugging along quite nicely (in my opinion of course). I''m using instantrails (on win xp sp2), and took the example cookbook and modified to to make it my very own! I''ve successfully added the login generator, and that works quite nicely (for my needs). I''m now attempting to add in the
2006 Feb 11
7
Menu Helper
Hi all, I''m trying to add a common menu to all pages in my application. It is just a set of links I want to display. I''m having trouble deciding where to put the code. Below is what I''ve tried to get out of the "Four Days on Rails" tutorial but no luck. Any help would be appreciated. Am I on the right track? Thanks, Sam
2006 Jun 24
2
:limit => Parent / Child Relationship
Hi all, I trying to find the best way to do the following and I''ll use a blog with comments for an example. Blog has many comments Comments belongs to blog My question is how to limit the number of comments (child) records read for each blog (parent) record. Most of the solutions I''ve come up with are limiting the number of records displayed within the views but the
2006 Jun 08
0
Question about searchgenerator
Hi, I am using the search generator in my application. How do i incorporate this to the application when i deployed it on a host since i can''t install simplesearch via gem on the server? I tried unpacking the gem on my local machine. I got the folder SimpleSearch-0.5.0 and i added it to the vendor directoy of rails. I also added ''require_gem simplesearch'' to the
2007 Dec 31
1
Yum breaks after updating to CentOS 4.6
Hi everyone, Yum on one my CentOS systems has decided to stop functioning after an upgrade to CentOS 4.6. It's complaining about errors with Python-SQLite packages? Any ideas anyone? Here is what happens. [root at monk var]# yum search zaptel Setting up repositories Reading repository metadata in from local files Traceback (most recent call last): File "/usr/bin/yum", line 29,
2005 Dec 21
1
Active Search
Issue: I am trying to get a good quality search capability across our site. I ran across ActiveSearch (http://julik.textdriven.com/svn/tools/rails_plugins/simple_search/) which seems to be a better solution for us than SimpleSearch (and SearchGenerator) as it is more than just word based. However, I am unable to get the project built and being fairly new to Ruby / Rails I''m a little
2001 Apr 11
0
using bitmap to make a multi-page pdf file results in duplication of (PR#908)
When I execute the following code: bitmap("test.pdf",type="pdfwrite") plot(1:10,1:10,main="ONE") plot(1:10,1:10,main="TWO") dev.off() the resulting file test.pdf contains four pages: graph ONE, graph TWO, graph ONE, graph TWO. I can recreate the problem with R version 1.2.1 and 1.2.2. I am using Aladdin ghostscript version 6.50. The temporary file
2006 May 22
0
Searchable models
Hi, I installed rails searchgenerator. When i run ''ruby script/generate search Search --inspect'' to check the models that are searchable, it returns none. I''ve about 9 models in my application. Why is none of the models searchable? Thanks, Adi. -- Posted via http://www.ruby-forum.com/.
2006 Mar 14
0
Trouble running script/indexer at Dreamhost
Heyo -- I''m trying to use SearchGenerator/SimpleSearch at Dreamhost, and I have only one problem. When I run "script/indexer", it runs too long and is killed off by procwatch. So far I have tried: * Reducing the number of indexed models/fields * "nice"-ing the script to 19 * Running the script offpeak (12-3am PST) It''s still getting killed. Any ideas on
2006 Jan 30
0
Making sense of all the search options
Hi everyone, I have an app that manages accounts. There''s a search function that I don''t like, but it works: @person_pages, @people = paginate :person, :per_page => 20, :conditions => [ "LOWER(username) LIKE ? OR LOWER(first_name) LIKE ? OR LOWER(last_name) LIKE ? OR LOWER(preferred_name) LIKE ?", "%" + session[:q] +
2006 Mar 31
7
Recommended search library?
I''m at a point where I''d like to start adding search capability to my app, so I thought I''d ask: Anyone have any recommendations for a good Rails search library/plugin/etc? There seem to be quite a few different ones out there, but I don''t have much context on any of them. What is the difference between using Ferret, or a SearchGenerator, SimpleSearch,
2009 Oct 30
3
Problem YUM Centos 5
Dear Friends, Today , I ran command yum update and I received follow error below. ======================= BEGIN ========= Loaded plugins: fastestmirror Determining fastest mirrors Traceback (most recent call last): File "/usr/bin/yum", line 29, in ? yummain.user_main(sys.argv[1:], exit_code=True) File "/usr/share/yum-cli/yummain.py", line 229, in user_main
2012 Sep 18
1
Contradictory results between different heteroskedasticity tests
Hi all, I'm getting contradictory results from bptest and ncvTest on a model calculated by GLS as: olslm = lm(log(rr)~log(aloi)*reg*inv, data) varlm = lm(I(residuals(olslm)^2)~log(aloi)*reg*inv, data) glslm = lm(log(rr)~log(aloi)*reg*inv, data, weights=1/fitted(varlm)) Testing both olslm and glslm with both ncvTest and bptest gives: > ncvTest(olslm) Non-constant Variance Score Test
2006 Sep 26
0
How to get back to my original results/list?
The main functionality of my app is the followiing: Enter search criteria > show results> edit one of the results > back to results i need to get back to the results from my initial query but when i select back from a single record I have edited it takes me back to entire list( not the list returned from the user query) - can anybody help? -- Posted via http://www.ruby-forum.com/.
2003 Dec 04
2
is there any way to search the mailing list archive and order results by date?
i use google, with site:digium.com to search the archives, but i've never found a way to show the newest messages first, or limit the results to messages within a date range. anybody know a better way to search that allows this?
2006 Aug 16
0
net groupmap list show no results
Hi Guys I am running FreeBSD 5.4, with version Samba-3-0-23b, and when i run 'net groupmap list', the output is blank. Seems like it's not matching or looking at the local groups that are created by default on the system. i have deleted the group_mapping.tdb in the /var/db/samba directory which gets recreated either when samba is reloaded or when the 'net groupmap list'
2010 Aug 31
0
Export Results to a txt file applying a function to a list
Dear users, *******I have a function f to simulate data from a model (example below used only to show my problem) f<-function(n,mean1){ a<-matrix(rnorm(n, mean1 , sd = 1),ncol=5) b<-matrix(runif(n),ncol=5) data<-rbind(a,b) out<-data out} *********I want to simulate 1000 datasets (here only 5) so I use S<-list() for (i in 1:5){ S[[i]]<-f(n=10,mean1=0)} ******I have a very
1997 Aug 15
1
R-alpha: (minor?) S-R inconsistency: NULL =~= list() -- useful is.ALL function
In S, NULL and list() are not the same. In R they are (I think). --------------------------------------------------- At least, is.list(NULL) #-> 'F' in S; 'TRUE' in R Yes: I had an instance where this broke correct S code: match(c("xlab","ylab"), names(list(...))) when '...' is empty, gives an error in R, but gives c(NA,NA) in S.