Displaying 20 results from an estimated 500 matches similar to: "Apache2 and popen"
2006 Jan 21
2
TeensyWeb 0.1.0 released
TeensyWeb 0.1.0 has been released.
The is a combination wiki, forums, and subversion repository browser.
It''s simplistic.  Nothing fancy.  Possibly buggy and broken as it''s my first 
rails app.
It requires rails, bluecloth, syntax be installed, which you can get from 
gems. In order to use subversion and graphwiz you must have those installed 
and the commands accessible from
2006 Feb 01
5
Apache 2.2 don''t work with fastcgi
I''m trying to install mod_fastcgi for my rails app.
I use Apache 2.2 and FastCGI 2.4.2 in windows xp.
I have modified the httpd.conf adding LoadModule fastcgi_module
modules/mod_fastcgi.dll (with mod_fastcgi.dll and mod_fastcgi.so in the
modules directory).
Whe i try to start Apache i have this error
----------------------------
apache: Syntax error on line 122 of
2006 Aug 10
11
Document Management System in Rails
Hi
Is anyone aware of any Document Management System in Rails. Googling didn''t
help me find any Rails based solution.
The DMS I need, need to have the following feature apart form the usual
ones.
1. Version control of documents.
2. Tracking version control for each group of users independently from the
other group . These groups may share the same document name but may have
different
2006 Feb 01
3
Getting database config info
Hi folks. I have a very small problem which is probably very simple. But
I''ve scoured the api and the rails book with no luck.
I''m trying to get information about the database definition out of active
record. When I go into console and say
ActiveRecord::Base.connection
I get a MysqlAdapter object, with an instance variable called @config that''s
a hash containing all
2005 Dec 21
7
use of SET command in find_by_sql
Hi,
I''m trying to execute something like this method in a model:
    def self.sql_for_rankings()
        sql =  "SET @counter:=0;"
        sql << " SET @counter:=0;
                    SELECT *, @counter:=@counter+1 AS rank
                    FROM testscores. "
        find_by_sql(sql)
    end
Where the new rank column is a kind of autoincrementer inside of
2006 Jan 09
6
Rendering dynamic Gruff image (send_data)
Dears,
Got a controller witch do a send_data for displaying a chart.
like :
send_data(g.to_blob, :filename => "any.png", :type => ''image/png'',
:disposition=> ''inline'')
I actually do a
<img src="http://myhost:3000/stats/make_graph" />
Is there any way more clean to do that ? At minima don''t hardcode the
beginning
2006 Jan 23
0
TeensyWeb 0.2.0
TeensyWeb 0.2.0
* Added installation documentation.
* Cleaned up distro.
* RSS feeds.
TeensyWeb is a combination Wiki, Forum and Subversion Repository browser.
It requires rails, bluecloth, syntax be installed, all of which one can get
install from gems or otherwise.  In order to use subversion and graphwiz
you must have those installed and the commands accessible from the path.
It''s
2005 Dec 29
4
Paginate do a Count(*) request before, how access that count value.
Hello,
AV::paginate query first by a count, how access this value in the
controller or view ?
Why ?
Because I''ll like to display the total number or records found w/o
doing another expenssive Count.
Thanks,
2006 Aug 02
15
Rails in a Windows World
I work at an organization that is very wrapped up in Microsoft products.  I
am trying to get a test application put in however I''m not sure what to do
about the infratstructure.  If it were up to me we would put in MySQL and
Apache or Lighty, however its not up to me.  The easiest way to get an
application into production at our company would be to use the existing MS
SQL server and IIS
2006 Apr 04
21
Rails on IIS
I just spent the last two days trying to get Rails on IIS to work with 
Windows 2003/IIS 6.0. I think I''ve finally got it working, but it took 
more googling than I care to describe. Now I''ve got a few questions:
1) Is there some ''official'' Rails on IIS guide on this site on another 
official ruby site that''s known to work well?
2) If not, can someone
2006 Jul 06
4
Oracle HR on Rails
Interesting read...apologies if it has been posted already.
http://www.oracle.com/technology/pub/articles/saternos-rails.html
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://wrath.rubyonrails.org/pipermail/rails/attachments/20060706/619e650a/attachment.html
2006 Feb 02
4
How switching global layout (application.rthml <or> custom.rhtml)
Dears,
My railsapp run using ''/layout/application.rhtml'' and under some
conditions ( Authenticated user, url parameter) I like to switch
globally to another layout, let''s say custom.rhtml
Like :
class AppController < ApplicationController
  before_filter :context_layout
  def index
  end
end
# application.rb
def context_layout
    if <context_condition>
   
2006 Mar 29
42
Production environment for Rails on Win32, anyone interested for a binary release?
Hi all, as part of adopting Rails in my company I had to go through
the hassle of setting up a Rails production environment on Win32
system since we mostly use MS SQL as our database back end and also
because we mostly dealing with customers who become green-blue-purple
as soon as you mention Unix/Linux and run for the door.
I also need to mention that most of our web applications are internal
and
2006 Jul 27
3
A number (id?) is added after css/js tags like style.css?1154009736
Dears,
My Ror setup works.. but I can''t guess why
<%= stylesheet_link_tag ''style'' , :media=> ''screen''%>
is rended as
<link href="/stylesheets/style.css?1154009736" media="screen"
rel="Stylesheet" type="text/css" />
What is that number.. any usage ??
Or I misconfigured something ?
Thanks
2006 Apr 27
6
How to trim a string?
This must be really simple but I have looked everywhere.
I have a <%= item.description -% in my view and I want to trim it to 10 
words.
The description can be long and I want to trim this in my preview?
-- 
Posted via http://www.ruby-forum.com/.
2006 Mar 01
7
Oracle Sequence & Rails
the compiler tell me it:
invalid column name: INSERT INTO ago.prova_stats (cognome, nome, id, 
telefono) VALUES(''Medda'', ''Ivan'', :id, 70565611)
where ago.prova_stats is the table used by me and that have only the 
columns ''cognome'',''nome'' and ''telefono''.
My table hasn''t the column
2006 Apr 10
1
[Q] How run Custom code on each request/action
Dears,
For obscure reasons I''ll like to reset a session key when
request/action is outside a specific controller.
Is there a common place in the app where I can put such code, instead
of adding statements in each controllers ?
DRY
Thanks,
Mathieu
2005 Dec 22
1
[NEWB] How to access database.yml parameters in a controller
Hi,
Are the active database.yaml attributes for the current environment
(dev, prod, test) available inside a controler ?
adapter, host, db, socks, etc.
AFIK Class#connection don''t give back theses infos.
Thanks
2006 Feb 28
19
Session magic question
Greetings!
I could really use some help understanding what Rails puts into the session store related to the objects it creates.  I''ve found documentation on how _I_ can put / get info into it, but can''t find the docs on what _Rails_ puts into it.
I''ve got a simple app that collects some data from the user, stores it in a db record, allows the user to edit it, display
2006 Apr 18
2
ruby on rails and Micro$oft environment support - IIS & ms sql
Hi everybody
At work we''ve finally convinced the chief to develop some small project
using open source technology.
Unfortunately we are deeply involved with Micro$oft technology.
That means, windows 2003 server, IIS, MS SQL 2005 and asp.
I was thinking about recommending ruby on rails instead of asp, but I''d like
to know how well it goes with IIS and MS SQL, because for the