Displaying 20 results from an estimated 108 matches for "railsapps".
Did you mean:
railsapp
2007 Nov 08
0
error on migration
Hi all,
I''m just getting started with rspec. I''m using trunk rspec with edge
rails. I get an error on migration though, here it is:
rake db:migrate RAILS_ENV="test" --trace
(in /home/pat/railsapp)
** Invoke db:migrate (first_time)
** Invoke environment (first_time)
** Execute environment
rake aborted!
undefined method `failure_message'' for class
2005 Mar 08
3
Making a module method available in view
I have a Rails application called RailsApp. In my RailsApp/lib
directory, I have a file called localization.rb that defines a module
called RailsApp with a Localization class that implements a method l.
(RForum devs and fans will recognize this as the YAML-based
localization feature in that package.)
I want to be able to call this method from my controllers and views.
I have added a
2006 Apr 24
12
setup a staging site?
Hi, i''m wondering how to setup a staging site for my RoR app. Right now i
run webrick on my laptop to develop, then i svn commit my changes to the
production server. However i need to make my development environment
available to others and not just for me on my laptop.
I have RoR setup on a hosted vps server which runs in production
environment. Its on apache 1.3 and mysql. How can i
2007 Jun 22
0
Mongrel_cluster and rails app in a subdirectory
Info:
Apache 2.2
mongrel 1.0.1
mongrel_cluster 0.2.1
I''ve had everything working with a bunch of applications like this
when the the rails app is the document root, but a client just asked
to move the app to a subdirectory, leaving he rest of their site
alone. However, I can''t seem to get it to work. Let''s make the
assumption that the Apache document root for the
2005 Dec 19
1
Deploying with Sub Directories
Hi, I am following this "tutorial" on dreamhost to deploy with sub
directories:
1. Upload your railsapp to ~/railsapp/.
** I have uploaded to /sharemyten.com/list/ (list is my railsapp folder)
2. Make all necessary changes mentioned in the QuickStart Guide above.
** Did this...
3. Create a symlink at the location you want the subdirectory that
points to ~/railsapp/public/:
$ cd
2006 Feb 24
8
Ruby site structure on Apache
I use a hosting company,it use appache for RoR
I test a ''hello word'' code here
http://www.smtservers.com/demo/
I can see the working code here
http://www.smtservers.com/demo/public/say/hello
My question is how to short the url like
http://www.smtservers.com/demo/say/hello.I do not like public always in
URL
Thanks for help
Mark
--
Posted via http://www.ruby-forum.com/.
2006 Sep 22
1
how about the global data when multiple backgroundrbs ?
Ezra,
Suppose a chatroom application, a RailsApp + 2 backgroundrbs: MiddleMan1&
MiddleMan2, running in 2 machines.
When Chater1 login, RailsApp call MiddleMan1 to get something about
Chater1 from db to memory, like his contacts or other personal settings.
When Chater2 login, RailsApp call MiddleMan2 do the same thing.
But who is reponsible for the Global Data? like a Online Chaters
2009 Nov 21
3
Using mongrel_rails: Can't install Redmine as win2003 service
Hello everyone.
After stugging 3+ hours installing redmine I got success but still
can''t install redmine as service (windows 2003).
So here is my problem. I successfully installed redmine and mapped it
to mysql, created database and initialized it with default values.
Last thing I''m trying to do is to install it as service on windows
2003, and for this I''m running in
2006 Feb 06
4
fcgi to run cgi scripts
Dear experts,
I have rail site that is running lighttpd and fcgi. I want the default
domain to serve the rails application, and I also want to have a
virtualhost (bugs.mysite) to resolve to a bugzilla instance.
Bugzilla is basically Perl application called through CGI.
I tried to find pointers on how to set fcgi to run both rails dispatcher
and other cgi scripts in a different virtualhost, and
2011 Oct 20
2
Agile book apache2.conf: Forbidden You don't have permission to access / on this server.
...les> container. However, before I tread
where I fear in the land of conf I thought perhaps it may be a simple
config issue and my lack of understanding of how things are knitted
together.
Here is my Virtual host config:
<VirtualHost *:80>
ServerName depot.yourhost.com
DocumentRoot /home/railsapps/rails_3/depot/public/
<Directory /home/railsapps/rails_3/depot/public>
AllowOverride all
Options -Multiviews
Order allow,deny
Allow from all
</Directory>
</VirtualHost>
#
My hosts file in /etc has the 127.0.0.1 depot.yourhost.com
Does anything look amiss here? Thank you in a...
2006 Jun 04
1
Problem with images on Apache and Lighttpd
...452) Path :
/var/www/images/deck/2d.gif
2006-06-04 20:57:10: (response.c.492) -- file not found
I am using Fastcgi/Fcgid while getting this error, SCGI seemed even
messier to me (I only tried SCGI with Apache). For whatever reason it
seems that images are not taken from the (i.e.)
/opt/railsapps/BlackJax/public-folder, but from the servers doc-root.
btw: I did not miss to put
ActionController::AbstractRequest.relative_url_root = "/Blackjax"
at the end of environment.rb, I also checked .htaccess
Here the important part of my lighttp.conf:
-------
server.port = 80
server.modules...
2006 Jan 05
0
I found a way to dynamically switch languages in your railsapp -- look at it and give your opinions
can you share the code so that others can benefit out of it???
silvy mathews
________________________________
From: rails-bounces@lists.rubyonrails.org
[mailto:rails-bounces@lists.rubyonrails.org] On Behalf Of sekhar
Sent: Thursday, January 05, 2006 7:14 AM
To: rails@lists.rubyonrails.org
Subject: [Rails] I found a way to dynamically switch languages in your
railsapp -- look at it and give
2006 Mar 02
6
Lighttpd and fastcgi problems...
Hi,
I''m having difficulty getting ruby running via Lighttpd and fastcgi. My
lighttpd.conf reads:
server.port = 81
server.pid-file = "/tmp/test_lighttpd.pid"
server.modules = ( "mod_redirect", "mod_access", "mod_fastcgi",
"mod_accesslog", "mod_simple_vhost" )
server.document-root = "/tmp/mis/public"
2007 May 31
0
Slave socket problem again
Hello!
I have been using backgroundrb for a small project. My worker task is
run every minute, checks the processing queue in data-base and execute
the business method from Rails if something is to be done.
Unfortunately I was hit by the problem of backgroundrb server dying
after some runs. The exception is:
20070531-11:06:05 (31816) Starting worker: s_e_work sql_exe
(s_e_work_sql_exe) ()
2006 Nov 13
9
Setting up Mongrel and Apache , some direction needed
I have a site that is PHP on Apache / RedHat , but will send requests to a
subdomain (running Rails) for database operations.
I believe the set up should be to have ROR using Mongrel, and an Apache
virtual host passing requests from apache to mongrel.
Does this sound correct ?
I believe the Virtual Host is set up in Apache.
One of my problems is I can''t find the httpd.conf file for
2012 Aug 28
4
ArgumentError in HomeController#index
Hey guys, I''m new to ruby/rails and trying to sort something...
I just created an app with composer,
http://railsapps.github.com/rails-composer/
I used the command:
rails new myapp -m
https://raw.github.com/RailsApps/rails-composer/master/composer.rb
I set up the rails server, and tried to load the app on localhost:3000
However, I end up with:
ArgumentError in HomeController#index
Need a handler. Supply an o...
2006 May 20
3
integrate with php-script
I have built a webshop in rails, now it''s time for invoice handling
through a third party. The communication will be done by xml-rpc. The
built in ruby xml-rpc doesnt seem to be compatible with the third party
so I have to use a special php-script (provided by the third party) that
will handle the interaction with them. Where on the server should/can I
put the script? I would prefer
2006 Mar 27
3
any luck installing RoR with apache / cpanel setup?
i just went through installing RoR on a cpanel setup and everything
seems to work except for deployment. i go through the entire process of
setting up a new rails app on a cpanel account and i get:
Not Found
The requested URL /testapp/index.html was not found on this server.
Additionally, a 404 Not Found error was encountered while trying to use
an ErrorDocument to handle the request.
2007 Jul 24
2
Nested params and redirect_to
...t"}
ie it is not nesting the "client_search" hash and I get the following
error when trying to update the attributes on the client_search table
using these params:
NoMethodError (undefined method `stringify_keys!'' for
"last_namesmithfirst_namejane":String):
E:/RailsApps/ruby/lib/ruby/gems/1.8/gems/activerecord-1.15.3/lib/
active_record/base.rb:1668:in `attributes=''
E:/RailsApps/ruby/lib/ruby/gems/1.8/gems/activerecord-1.15.3/lib/
active_record/base.rb:1591:in `update_attributes''
Can anyone tell me what I am doing wrong and how to get around...
2006 Jul 12
5
railsapp/db/migrate Newbie question
I made a mistake when making my first app. I did not use the:
ruby script/generate model <modelname>
method for creating my models. I more or less hand crafted each og
them. Is there a way to go back so I get my db migration scripts to
populate?
--
Posted via http://www.ruby-forum.com/.