similar to: Question about searchgenerator

Displaying 20 results from an estimated 2000 matches similar to: "Question about searchgenerator"

2006 Apr 09
8
Computer Name
How to get the name of the computer accessing the application? I mean the computer the user use to access the application. Thanks, Lantis. -- Posted via http://www.ruby-forum.com/.
2006 Apr 08
2
Multiple submit buttons
Hi, How do i differentiate different submits tags / buttons on one form. Say I want to create an edit form and I want to provide two buttons; one to save and one to cancel. I would have: <%= submit_tag ''Ok'' %> <%= submit_tag ''Cancel'' %> How do I know which button get pressed by the user? One more thing, how to specify the default selection in a
2006 Apr 07
3
Different validation for different users
Hi, I have two types of users; normal user and admin. I have a field called priority in the table task. This priority field is invisible to the normal user, but not to the admin. The admin has to fill in the priority field when he adds a record via filling a form. Thus, i need to add validates_presence_of :priority to the model task. But, if i do this, then the normal user can''t add a
2006 May 23
1
Detecting internet connection
Hi, Is it possible to detect whether the internet connection is on from the application? Thanks, Lantis. -- Posted via http://www.ruby-forum.com/.
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 May 23
6
Accessing file in public directory
How do i access a file in the public directory of rails application? I have several html files in there and i want to link them from the rhtml file. Basically to display a popup. Here is the code in foo.rhtml: <a href="javascript:popUp(''/summary.html'')" class="normal">Learn more</a> It doesn''t work. Any idea why? Thanks, Lantis. --
2006 Mar 31
2
W3C Standard
I''m rather new to web programming. I''m wondering, does rhtml file conform to W3C standard? Or is there a way to make it conform to W3C standard? Thanks, Lantis. -- Posted via http://www.ruby-forum.com/.
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
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
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 Apr 16
5
ActionMailer
Is there a way to connect to a SMTP server that requires TLS since ActionMailer doesn''t support it? Thanks, Lantis. -- Posted via http://www.ruby-forum.com/.
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 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
2012 Mar 07
2
SSOAP and Chemspider: Security token?
Dear community, has anyone managed to get SSOAP working with the ChemSpider Web APIs, using functions which need the security token? I use SSOAP 0.9-0 from the OmegaHat repository. In the example code from SSOAP there is a sample which uses a token function. Interestingly, it checks if(!is.character(token)) first (and proceeds if the token is NOT character.) I can't test that function since I
2009 Aug 17
1
Xapian DatabaseError
Hi, I've a problem to integrate xapian in my web application. I've developed the code for index e for search the documents published through my application. The app is developed in PHP. I've created a file that contain some function for search (called simpleSearch and advSearch). The problem is that if i run the code through the IDE (Zend for Eclipse) as PHP script it work correctly,
2008 Feb 28
0
CentOS 5.1 86_64 : cannot open shared object file
Can't load '/usr/lib64/perl5/site_perl/5.8.8/x86_64-linux-thread-multi/auto/Search/Xapian/Xapian.so' for module Search::Xapian: libxapian.so.15: cannot open shared object file: No such file or directory at /usr/lib64/perl5/5.8.8/x86_64-linux-thread-multi/DynaLoader.pm line 230. at ./simplesearch.pl line 7 Compilation failed in require at ./simplesearch.pl line 7. BEGIN
2014 Jan 21
2
seg fault on search
I have written a very simple function to return the match count based on the simplesearch.cc code. It fails with a seg fault. The relevant code is: -------------------- int ftQuery(char* qs, const char* dbname,char* results, int msize) { long docid; char* op; char fullDB[1024]; string queryString;
2013 Sep 26
1
Conditional jump or move depends on uninitialised value(s)
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hi Timo, Dovecot 2.2.6 compiled on Ubuntu 10.04 fails on "make check" with the following errors. "make install" is finishing just fine and Dovecot itself works flawlessly so far. - ----- 8< ----- http header invalid [0]: parse failure ............................... : ok: Expected ':' after header field name
2014 Mar 14
1
Conditional jump or move depends on uninitialised value(s)
Hi, I'm using valgrind to check over some C/C++ code for an R library. I'm getting the report (see below), but can't track down the uninitialised value(s). I tried using --track-origins=yes in valgrind which gives: ==28258== Uninitialised value was created by a stack allocation ==28258== at 0xEE33D98: ??? (in /usr/lib64/R/lib/libRlapack.so) I presume the problem is an