Displaying 20 results from an estimated 2000 matches similar to: "mongrel/win32/apache2 link modification question."
2007 Nov 07
11
Links go to ''localhost''
I am using Apache2.2 + Mongrel on my machine.
Now I am accessing it over LAN. When I enter http://mymachinename/myapp
it opens fine but when I click on any link in my rails app, it replaces
mymachinename with localhost (http://localhost/myapp/controller/action)
and thus I am unable to access it from remote location.
2006 Nov 13
1
rails+apache2+mongrel_cluster
hey all,
I managed to configure a mongrel+apache2 but now I would like to do a
mongrel_cluster. For now I have a sites-available/myapp but when it
comes to mongrel_cluster I need to set up myapp.common,
myapp.proxy_cluster.conf and
myapp.proxy_frontend.conf and I couldn''t find a tutorial that explain
where should those file go. is it in conf.d or sites-available/ or
else?
thanx in
2006 May 17
5
text_field_with_auto_complete (newbie question)
I have the text_field_with_auto_complete woking on my user DB using
last_name. so looking for ''ivanoff'' works great, but I can''t find
''john''. Plus I like to have ''last_name, first_name'' show up in the
dropdown.
what I can''t figure out is how to concat first_name and last_name to
make a name and use that to look it.
working
2006 Jan 03
3
RoR and Apache2 and app in local directory
Hi all. I''m at my wits end.. I''m trying to set up a Rails app (on a
Ubuntu system), within the public_html directory in my home directory
(as opposed to the /var/www/ directory). ie. in
/users/john/public_html/myapp
I have a simple app setup, and using the Webrick server it works fine.
But trying to get Apache to work is becoming a pain in the *&^*.
I followed the
2006 May 09
6
To Do list project?
I''m looking for a good web-based to do list app. Essentially, I''d like
to use Basecamp''s todo management system, but that''s not an option
since I can''t install Basecamp on a server I own. The information
being tracked in the list cannot be sent out of my intranet.
I would imagine that there are a couple of open source rails apps that
would meet my
2006 Aug 15
6
FileSystemWatcher - has any one done this?
I''d like to monitor a folder and when someone drops a file in there I
can take the files name and add it to a database.
My dream is to have a folder always being watched. and if someone
drops a file or folders with files into that watched folder, I take
the filename(s) and insert them into a db and if the files are in
folder I use the folder name(s) as tags for that file.
make sense?
2006 May 22
2
text_field_with_auto_complete part II (newbie question)
now that tha auto complete works (thanks Craig) I''m at a stumbling point again.
here''s the situation.
I have a text box that gets populated from the auto complete that has
"ivanoff, john" and I want to add him to a list of approved users.
how do I get the id to add to the employees_users table?
do I need to look up the employee in the employee table or can I get
the
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 Oct 16
4
has many :through, accessing join model attribute (newbie)
from the rails recipes i have a has_many through "working".
I can list a user and what magazines he subscribes to. but I can''t
seem to figure out how to get the other attributes from subscriptions.
(like last_renewed_on)
reader_controller.rb
def list_reader
@readers = Reader.find(1)
end
----------
list_readers.rhtml
<dl>
<dt><%= readers.name %> </dt>
2006 Aug 28
8
Railsy way to Export Database Schema?
Is there a nice way in rails to automatically extract an exising
database schema from an existing app and then in a new app automatically
create a database based on this schema?
--
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
2007 Feb 01
16
Help with RadRails...
Hi everyone,
I hope someone can help with some RadRails guidance...
( on WIndows XP )
I''ve been using UltraEdit and it''s Project management is good, but I
feel RadRails should be better with the inbuild Ruby and RoR
features...
I''ve tried working through the tutorials on the web site for example
the CookBook tutorial & it tells me to go the Generators Pane, which
2006 Sep 26
3
Clustering - Avoiding "dead" processes?
I have Mongrel Cluster setup with Apache a mod_proxy_balancer. I''ve seen (from time to time) mongrel instances become non-responsive. Is there anyway to configure the balancer so that it "knows" which processes are no longer good and stops trying to use them?
_______________________________________________________
The FREE service that prevents junk email
2006 Jul 13
8
can''t convert true into integer
I have a method:
? def reduceProuctInventoryBy(product_id, reduction)
? ? t=Product.find(:first, :conditions =>["id = ?", product_id])
? ? t.qty=(t.qty-reduction)
? ? t.save
? end
and the model:
class Product < ActiveRecord::Base
? validates_presence_of :qty, :specialDescription
? validates_numericality_of :qty
end
but when i run my method, I get this:
"can''t
2008 Mar 10
6
Probably OT, but CSS Help?
Ok I know this is off topic, but since you guys are usualy so helpful,
I thought I''d try here first.
Building a Rails App and one of the things we''ve done is put a CSS
class of;
* {
font-family:"Lucida Grande",verdana,arial,helvetica,sans-serif;
margin:0pt;
padding:0pt;
}
Now the problem is that the padding setting, for one reason or another
is killing my select
2006 Jul 14
5
Acts_As_Taggable Plugin multiple controllers.
I have Acts_As_Taggable Plugin working. I have a HR controller and a
sales controller.
I have a document in hr tagged whitepaper and a differnent document in
sales tagged whitepaper
when I am in hr I see the hr document tagged with whitepaper and not
the sale document (what I want). but if I click on the tag whitepaper
I return two documents, hr and sales. I just want to return the hr
document
2006 Mar 02
2
SwitchTower: why symlink releases/under -> current?
Hi,
I have a trouble with deploying my ordinary rails application(myapp).
When I execute ''rake deploy'',
[...]
command finished
* executing task symlink
* executing "ls -x1 /var/www/myapp/releases"
servers: ["app1.olalog.com"]
[app1.olalog.com] executing command
command finished
* executing "ln -nfs /var/www/myapp/releases/under
2006 May 23
5
text_field_with_auto_complete
I am having some trouble using `text_field_with_auto_complete'' in
Firefox. For some reason, the drop-down list is being rendered
behind other table elements.
Firefox (broken): http://schema.ca/broke.png
Safari: http://schema.ca/safari_works.png
I''m wondering if anyone is aware of this problem, and what I might be
able to do to work around it?
Thanks,
-Mike
2006 Dec 01
4
uninitialized constant error in app but not when using console
I''ve got a wierd issue here and maybe someone can assist
i created a module in my apps lib directory which i use for
authenticating against an external source (among other things).
lib/myapp.rb
-----------------
require ''rubygems''
require_gem ''activerecord''
# uses activerecord odbc adapter by openlink
module MyApp
module ExternalSource
class
2007 Jan 25
6
NOT FOUND error
I''ve been hunting the web and reading the mailing lists all day but
I''m not finding any guidance on this problem. When I try to talk to my
mongrel it simply responds with NOT FOUND and nothing else. I can''t
find anything on google because this has to be the second most commond
phrase in existence.
Any help or guidance would be greatly appreciated.
Sincerely,
Chuck Vose
2006 Dec 14
0
Apache2, Mongrel & multiple apps
I''m running Apache 2.0 as a proxy to several Mongrel/Rails apps, so
that all of my Mongrel apps can be routed through the single Apache IP
address.
The problem I''m having is that this setup works well for apps that do
not use the public/index.html file as the main page. For any apps that
do use public/inedx.html as the main page, none of the links off of
index.html work. So no