similar to: Active Search

Displaying 20 results from an estimated 300 matches similar to: "Active Search"

2005 Dec 29
5
Model Composition in Rails
I''m struggling understanding the model view of a combined model. Take the following: class P4 < ActiveRecord::Base has_many :p4_priorities end I figured out the naming and referencing of the sub models (i.e. P4.p4_priorities - seems simple enough but I had weird issues related to it). I''m all ok except that I am having issues with how to reference a
2006 Jan 11
2
Creating a DB in the schema import process
I''ve got a bunch of table creations in the schema.rb file and all is well. However, I have to manually go and create the db first. Is there a way (something like a create_database method) to get this to work? (execute "create database ..." didn''t seem to cut it either.) _______________________ Brad Eck Sr. Software Engineer Pelco 3500 Pelco Way Clovis, CA 93612
2006 Jan 11
1
Multiple apps on server conflicting
We have a situation where one app on the server seems to be affecting another. So, we start the first app on port 3000 and run it and all is well. We start the second app on port 3006 and it fails (blank screen). We then have to blow away the temp files and try again. If we start the 3006 one it will work and then start 3000 and it fails. So, in essence the first one wins. Any thoughts? We are in
2006 Jan 06
1
DHTML on WEBrick
I have some simple dhtml code in my rails app that hides fields I do not need displayed. This worked great as soon as I click on the item that initiates the hide, but within one second it pops back up. My assumption is WEBrick is refreshing to a previous state and I wondered what y''all thought was the appropriate way to handle. I thought maybe the default environment in production would
2006 Jan 10
1
Frames
Well, I know there''s a better way (not using frames) but bear with me while we get rev 1 out the door and then switch. In the meantime I need to redirect from one frame into another and cannot for the life of me figure out a reference to get to another frame: redirect_to :controller => testController'', :action => testProc'' I cannot seem to add :target or
2005 Dec 21
0
subscribe
_______________________ Brad Eck Sr. Software Engineer Pelco 3500 Pelco Way Clovis, CA 93612 Office - 800-289-9100 Email - beck@pelco.com <BLOCKED::mailto:beck@pelco.com> -------------- next part -------------- An HTML attachment was scrubbed... URL: http://wrath.rubyonrails.org/pipermail/rails/attachments/20051221/107d6e92/attachment.html
2006 Jan 10
13
# of entrys in different months
right now im writing a weblog as my first project in rails. Most tings seems to be working great :), but there is (a least) one thing left i can''t figure out how to do. As most weblogs i would like to have an archive, whick looks like this: January 2006 (42) December 2005 (60) November 2005 (2) October 2005 (101) September 2005 (4) August 2005 (2) July 2005 (101010) where (x) is the
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,
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
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] +
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,
2006 Apr 28
1
Full-text Search Options Redux
Hey all, I haven''t heard much on the list in a while re: ActiveSearch, Ferret, Hyper Estraier, etc. in a while. Has anyone successfully used ActiveSearch on tables with rows in the order of hundreds of thousands, if not millions? (in our case, each row containing anywhere from a paragraph of text to many pages) Here''s some background on our search efforts. A. Hyper
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
2005 Nov 02
3
Xen driver domain...character device?
Greetings, Does anyone know if it is possible to give a guest domain access to character device hardware such as a SCSI tape drive (/dev/st0 | /dev/nst0)? I have recompiled the guest xenU kernel with hardware access and declared the pci SCSI card in the config file directive as follows: pci = [ ''4,3,0'' ] The log file when started reports: [2005-11-01 17:24:57 xend] DEBUG
2005 Dec 21
5
text search engine ?
Hi there, What are you using for text search engine in your rails applications ? I have been using simple search for simple applications, but then I need to search text in model instances inside collections such as user.documents and the like. I believe that simple search does not support any sort of ranged queries, and sql like might be overkill for tables with lots of records. Bests, Sergi
2005 Dec 19
2
Advanced search/filter use cases
I''ve been working on an application lately that has a lot of advanced search and filtering functionality (with ranges and substring searches for each attribute). Despite being a pretty common use case, this isn''t supported particularly well by any framework I''ve used, including Rails. I''d like to fix that. :) Right now, my major pet peeves are: 1. Long,
2006 May 04
5
How to install Ferret to get the best performance
Hey all, After dabbling with ActiveSearch, we''re coming back around to take another look at Ferret. ActiveSearch slowed to a crawl after indexing about 20k documents, each 20 lines each. This time we may attempt to create multiple Ferret indexes (isolating each organization''s data individually), since we eventually could have upwards of 20k documents for some
2005 Dec 02
43
ANN: acts_as_ferret
Hi all This week I have worked with Rails and Ferret to test Ferrets (and Lucenes) capabilities. I decided to make a mixin for ActiveRecord as it seemed the simplest possible solution and I ended up making this into a plugin. For more info on Ferret see: http://ferret.davebalmain.com/trac/ The plugin is functional but could easily be refined. Anyway I want to share it with you. Regard it as a
2005 Dec 02
43
ANN: acts_as_ferret
Hi all This week I have worked with Rails and Ferret to test Ferrets (and Lucenes) capabilities. I decided to make a mixin for ActiveRecord as it seemed the simplest possible solution and I ended up making this into a plugin. For more info on Ferret see: http://ferret.davebalmain.com/trac/ The plugin is functional but could easily be refined. Anyway I want to share it with you. Regard it as a
2006 Feb 17
0
SearchGenerator: Results list duplication
Hello all, I''ve installed the SearchGenerator from here (http://wiki.rubyonrails.org/rails/pages/SearchGenerator) and have it up and running perfectly when I only have one field in the make_searchable list. When I add a second field to the make_searchable list I get some strange behavior, my results list now displays each result twice. Has anyone else encountered this issue and if