Displaying 20 results from an estimated 1000 matches similar to: "What is supposed to happen when you run dispatch.fcgi?"
2006 Feb 07
2
validates_uniqueness_of case Sensitive
Is there a option to make validates_uniqueness_of Case Sensitive, if so
what is it, if not then how to do it without writing my own function.
Regards
Suraj
2006 Jan 18
1
Problem with OCI in Apache
My Application runs fine when run on webrick, but throws up database
error when run from apache. this is the copy of the FULL TRACE i get
/usr/local/lib/ruby/site_ruby/1.8/oci8.rb:131:in `create''
/usr/local/lib/ruby/site_ruby/1.8/oci8.rb:131:in `initialize''
/usr/local/lib/ruby/gems/1.8/gems/activerecord-1.13.2/lib/active_record/connection_adapters/oci_adapter.rb:515:in
2006 Jan 19
3
lighttpd config on os x
I finally got around to installing lighttpd on my mac for dev work,
followed the instructions at
http://hivelogic.com/articles/2005/12/01/ruby_rails_lighttpd_mysql_tiger
When I go into my rails app and type "./script/server" I get the
following errors:
baggio:~/work/teore pergesu$ ./script/server
=> Booting lighttpd (use ''script/server webrick'' to force WEBrick)
2006 Feb 14
1
Associating a query with a active record class
Is there a way by which i can associate a complex query with a Model
class without using a VIEW, so that i can access all the names of the
columns returned by the query.
2005 Dec 21
3
How to make a drop-down automatically submit an AJAX form
Hi,
I know that to make a dropdown box automatically submit when you change
the value, you do this:
<select ..... onchange="this.form.submit();">
BUT i''ve got an ajax form, and if i do the above trick, it simply
reloads the ajax partial into the whole screen, rather than into the div
where it is meant to go.
I''ve already got it all working so that if you click
2006 Jan 28
3
App running fine on Webrick, ActiveRecord::ConnectionNotEstablished in lighttpd
My app runs fine on webrick, but I get a
ActiveRecord::ConnectionNotEstablished when I try to run it on
lighttpd. Here''s the app''s lighttpd config:
$HTTP["host"] =~ "(www\.)?mysite\.com" {
server.document-root = "/home/pergesuteore/public/"
server.error-handler-404 = "/dispatch.fcgi"
fastcgi.server = ( ".fcgi" =>
(
2005 Dec 12
9
Webrick is being stupid...no info on a brand new project
I created a project, made a migration, generated scaffolding...start
up webrick and I get nothing. To simplify things, I just started
another project and generated a controller, still getting nothing.
The index page loads fine, but nothing beyond that. If I go to
anything that should give me a 404, the page is just blank. The
Webrick console just says a 500 (nothing explaining why), and
2003 Nov 15
3
ctokens vs tokens - HTB.
Hi,
One more of those ...
1) what is a ctoken with regard to HTB? Does the ''c''
stand for ceil and if so how is it different from
tokens?
2) Is the difference, only in the generation of these
tokens?
3) Would the ctokens and token be treated equally once
borrowed?
Kindly help.
Thank you.
Regards,
suraj.
__________________________________
Do you Yahoo!?
Protect your
2012 Jul 08
3
Help in Optimization of a function
guRus!
I have a function f = exp(x^2-y+(1/z))
Also, x can take values from 1 to 37, y from 2 to 20 and Z from -13 to 51.
How can I find the maximum of f using any of the optimization functions
please?
Is there a way to store the possible values of x, y and Z in a single
variable like in a List or in a multi-dimensional array?
Thanks for your help
Raghu
[[alternative HTML version deleted]]
2012 May 21
4
Rails developer required.
If you are experienced rails developer please let me know.
--
Posted via http://www.ruby-forum.com/.
--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
To unsubscribe from this group, send email to
2011 Sep 29
1
documenting a behavior of adding named item to a list
Folks,
Per a post to StackOverflow, I'm looking for an opinion on whether something
should be documented:
When adding a named item to a list, its guaranteed that the item will be
added to the end of the list.
SO post:
http://stackoverflow.com/questions/7599349/adding-named-item-to-list-guaranteed-to-append-to-end-of-list/7599610#7599610
This is my first email to r-devel, so I hope this is
2015 Oct 05
1
CentOS 7 & dhclient hooks
Hi,
I have CentOS 7 and I am trying to get dhclient hooks working. I have 1)
created file /etc/dhcp/dhclient-enp4s0.conf,
2) created directories /etc/dhcp/{dhclient-enter-hooks.d,
dhclient-exit-hooks.d},
3) added line 'DHCLIENTARGS="-nc"' into file ifcfg-enp4s0 and
4) added file /etc/dhcp/dhclient-enter-hooks.d/test with line echo
"executed enter-hook",
5)
but I was
2009 Sep 09
4
tables with Unicode box drawing characters?
Hello,
I read David Wheeler's table proposal[1] for Markdown and very much
agree with his conclusion and PostgreSQL-inspired proposed format. I
also read the mailing list archives for 2009 but did not find any
clear concesus on whether DW's format was officially accepted (I hope
it is soon!).
However, I want to ask: has anyone considered taking these simple
ASCII table drawings to the
2012 Jul 24
3
Collapsing a vector/data-frame based on the previous values
Hello
I have a data frame like this:
dput(states)
structure(list(Date = c("24/07/2012", "25/07/2012", "26/07/2012",
"27/07/2012", "28/07/2012", "24/07/2012", "25/07/2012", "26/07/2012",
"27/07/2012", "28/07/2012"), State = c(1L, 1L, 1L, 1L, 1L, -1L,
-1L, -1L, 1L, -1L)), .Names = c("Date",
2008 Jun 11
1
software raid performance
Are there known performance issues with using glusterfs on software raid? I've
been playing with a variety of configs (AFR, AFR with Unify) on a two server
setup. Everything seems to work well, but performance (creating files,
reading files, appending to files) is very slow. Using the same configs on
two non-software raid machines shows significant performance increases.
Before I go a
2012 Apr 22
2
difficulty in Formatting time series data
Dear R-Gurus
I have a data frame (from CSV file) which has its first column called Date.
The Date is in the format mm/dd/yyyy. I was trying to get the weekday for
these dates and I tried using wday() and day.of.week() functions and both
of them gave me precisely the wrong answers. I think the issue lies in the
proper formatting of dates. The class of this column is a factor class and
hence I
2012 Jul 14
2
writing data into files whose names are in a vector
GuRus
How do I use the write function (or write.table or write.csv) to achieve
the following please?
age=c(32,37,39)
names=c("john","peter","jake")
I would like create in a directory 3 files each named as john.csv,peter.csv
and jake.csv and each file have data from the age vector. That is jon.csv
will contain 32, peter.csv will contain 37 and jake.csv will contain
2006 Aug 05
0
Rails requests return dispatch.cgi (or .fcgi) file contents
I''m running Apache2 with CGI and FastCGI alternatively. I''ve had a
problem that I haven''t been able to find more than a single reference to
online.
When my .htaccess file has the CGI rewrite rule in effect, my Rails app
works. When I change to FastCGI, all I get for Rails requests is the
contents of the dispatch.fcgi file.
Thinking I may have screwed something up
2006 Aug 09
0
FastCGI - how to relocate dispatch.fcgi outside of rails app
Howdy.
Due to a rather unique hosting setup, I need to relocate the
dispatch.fcgifile to a directory outside of
/path/to/application/public.
The setup looks like:
/path/to/content/RailsApp/ -- all application files
/path/to/fcgi-bin/RailsApp/ -- dispatch.fcgi
I''ve modified dispatch.fcgi to find environment.rb; however, all requests
for static files (index.html, javascripts, etc) fail
2006 Jun 21
2
displaying contents of dispatch.fcgi rather than running it
SYSTEM: Apache2/RHEL4/FastCGI latest gem, ruby and rails builds.
--
i''ve installed rails on the above system. i get the ''riding on rails''
welcome page, but when i click ''about your applications environment'', it
returns the contents of the dispatch.fcgi file, instead of running it.
i''ve been struggling with this one for quite some time with