similar to: How to perform search on multiple models and controllers

Displaying 20 results from an estimated 700 matches similar to: "How to perform search on multiple models and controllers"

2007 Oct 03
3
Pagination problem with acts_as_ferret
Hi, am using this wonderful plugin acts_as_ferret and according to the tutorial at http://railsenvy.com/2007/2/19/acts-as- ? rial#basic I worked it out except the pagination feature. If I have 12 records and I give limit to 10, its correctly displaying 10 records in the first page and is giving the link to the second page too. But when I go to the next page I find the same 10 records instead of
2007 Aug 14
0
problem searching dynamic strings with acts_as_ferret
Hi Jens, I am using acts_as_ferret and multi_search method in it, when I search for Cass I get the result, but I want to get Cass even if I type Cas or Ca or just C. How can we use the LIKE operator for this serach in acts_as_ferret? I am listing the method here: def search_names @users = User.available_users @user = User.find(session[:user_id]) @query = params[:query] ||
2007 Jul 27
6
Problem with installing acts_as_ferret plugin
Hi all, when I type this: ruby script/plugin install svn://projects.jkraemer.net/acts_as_ferret/tags/stable/acts_as_ferret from my rails project the plugin is not getting installed, its simply going back to my rails application. I don''t find the plugin in the vendor/plugin directory I am using Instant Rails for your information. Could anyone please let me know whats going wrong...
2015 Jun 15
1
small homebrew pbx
James Cass wrote: > I picked up a cheap JS200-FX on ebay: http://x100p.com/products/js200fx.php for $30, and it works great for a home install. Very low power draw as well. > > James Cass <http://goog_987864563> > jcass78 at gmail.com <mailto:jcass78 at gmail.com> The JS-200 runs a very old ( 1.4 ) version of Asterisk I have set up more than 30 nodes using the HP thin
2015 Aug 19
2
asterisk server stress test
Steve, would you be willing to share that "quick bash script"? James Cass <http://goog_987864563> jcass78 at gmail.com On Wed, Aug 19, 2015 at 12:11 PM, Steve Edwards <asterisk.org at sedwards.com> wrote: > On Wed, 19 Aug 2015, Dominique Haeber wrote: > > Hi Barry Flanagan, >> >> Barry Flanagan <barryf-lists at flanagan.ie> schrieb am Mit, 19.
2007 Jul 27
5
Mongrel won''t start
I have a win xp box running instant rails. I installed ferret (the win version) and acts_as_ferret seemingly succesfully. I then added "require ''acts_as_ferret''" to the environment.rb file of my project. However, I cannot get webrick/mongrel to start. Can anyone suggest a solution? Rick -- Posted via http://www.ruby-forum.com/.
2015 Apr 19
4
bash script fails conditional test
Hey all, I wrote a very basic script to determine if cassandra db is running. I'm setting a variable called 'pid' to the output of a ps | grep like to grab the pid of the cassandra process. #!/bin/bash pid=$(ps -ef | grep cassandra | grep -v grep | grep -i -v -e grep -e screen -e s3fs|awk '{print $2}') if [[ -e $pid ]] then echo "Cassandra is running with pid:
2004 Feb 13
2
OpenSSH-snap-20040212 and the use of krb5-config
With openssh-snap-20040212 the configure.ac when it finds a krb5-config file, does not call the AC_DEFINE(GSSAPI) or AC_CHECK_HEADER(gssapi.h...) This means that GSSAPI and HAVE_GSSAPI_H are not defined, and thus GSSAPI is not built. If I rename the kerberos provided krb5-config file and run configure, the old method of finding the Kerberos lib and include directories is used and OpenSSH
2015 Apr 20
4
bash script fails conditional test
> > "-e" means "if file exists". You should use "-n" That did it!! [root at web1:~] #./bin/check-cass.sh Cassandra is running with pid: 26979 This is what the script looks like now: #!/bin/bash pid=$(ps -ef | grep cassandra | grep -v grep | grep -i -v -e grep -e screen -e s3fs|awk '{print $2}') if [[ -n $pid ]] then echo "Cassandra is
2015 Aug 19
3
asterisk server stress test
Am 19.08.2015 um 19:07 schrieb Steve Edwards: > Please don't top post. > > On Wed, 19 Aug 2015, James Cass wrote: > >> Steve, would you be willing to share that "quick bash script"? > > There's no magic in the script, but here it is, embarrassing myself: > > cp sample-call-file /tmp/ > chmod +x /tmp/sample-call-file >
2006 May 03
3
Validations Doubt
Hi to Ruby and Rails group! I am new to the ROR . I ahev some doubts 1.Can we write the reguller expressions controller! 2.I have added the some controles in the rhtml file.(with out database fileds) I want to wirte the validations for these text fields in the model Is it Possible? Give me any reference? 3.In how many ways can we write the validations? Thanks and Regards, Kumar
2007 Jul 28
0
Problem with acts_as_ferret demo
Hi Jens, I copied the demo folder into my rails apps and also created the ferret_production and ferret_test databases. when I start the server and type this in the browser: localhost:3000/content I get the following error: NameError in ContentController#new uninitialized constant Ferret::Search::BooleanClause RAILS_ROOT: ./script/../config/.. Application Trace | Framework Trace | Full Trace
2005 Mar 16
0
Insightful Financial Time Series Modelling in S-PLUS - April course dates
Insightful are now taking bookings for the Financial Time Series Modelling course to be held at Carlton Terrace in London SW1 on 12th and 13th April 2005. We are also pleased to offer the 1 day Advanced Time Series Modelling course on April 19th at the same location. Extract for Financial Time Series Modelling : This two day course will provide participants with a working knowledge of a range
2006 Nov 01
0
No subject
upcomming OpenSSH vulnerability will be to run OpenSSH-3.3 with the Privilege Separation enabled. This scares the daylights out of me! Think about what you are doing here. (1) OpenSSH 3.3 with the privsep code has been only out for less then a week. (2) Its hundreds of lines of code. (3) The privsep does not run on all platforms (4) The privsep does not work with all the features in
2015 Apr 20
1
bash script fails conditional test
> > You can probably replace that with a much cleaner pid=$(pidof cassandra). Good to know! I hadn't heard of pidof before. However this is what I get when I run it: [root at web1:~] #pidof cassandra [root at web1:~] # Returns nothing. However: [root at web1:~] #pidof java 27210 11418 10852 Gives me a few pids. Only one of which belongs to cassandra, as I have a few java processes
2005 Aug 26
0
Modelling Financial Time Series with S-PLUS - Adv. Course 20th Sept '05
Insightful are now taking bookings for the Advanced Time Series Modelling course to be held at Carlton Terrace in London SW1 on 20th September. Advanced workshop Extract for Financial Time Series Modelling : The Advanced Time Series Course focuses on the most up to date theory and its application around the following topics (note that not all topics will be covered during the workshop) 1.
2015 Jun 15
0
small homebrew pbx
I picked up a cheap JS200-FX on ebay: http://x100p.com/products/js200fx.php for $30, and it works great for a home install. Very low power draw as well. James Cass <http://goog_987864563> jcass78 at gmail.com On Mon, Jun 15, 2015 at 10:50 AM, Kevin Larsen < kevin.larsen at pioneerballoon.com> wrote: > > I don't know this 'translates' to Italy, but this is what I
2003 Nov 12
1
Power (^) 10x slower in R since version 1.7.1... What next?
OK, I have made a little search about this "problem" that apparently occurs only on Windows platform... (but I am sure most of you are already aware of it): the slow down is due to the adoption of a different algorithm for pow in mingw 3.x. This is motivated by some other changes in mingw. Here is a quote of Danny Smith that did this change: >When mingw changed default FPU settings
2010 Apr 26
1
help with code
I am new to R and have tried for a good while to figure out how to code this in R. The dataset below: FTIStandKey State County FTITract CoverType Ver_CT V_Origin V_SpGrp NAH6005-001 Texas Jasper NAH6005 PPLB-2000-U PPLB-2000-U P P NAH6005-002 Texas Jasper NAH6005 NHHX-1950-O NHHX-1950-I N H NAH6253-001 Texas Tyler NAH6253 PPLB-2001-U PPLB-2001-U P P
2008 Apr 21
2
"spreadsheet" in plot
Hello, how can I print a table (lets say my table xtable contains 3 rows and 3 Columns, the fileds consists of text) directly in a plot? when I use mtext(xtable), he tries to write everything on the same place. Thank you in advance, Stephan -- [[alternative HTML version deleted]]