Displaying 20 results from an estimated 400 matches similar to: "rails + iis + virtual directory = desperation"
2006 Apr 11
3
model classes in different folders
Hello,
I have the following structure:
- app
- controllers
- helpdesk
- call_controller.rb (Helpdesk::CallController <
ApplicationController)
- models
- employee.rb
- department.rb (Department < ActiveRecord::Base)
- helpdesk
- call.rb
- call_history.rb (Helpdesk::CallHistory < ActiveRecord::Base)
Is it possible to have a relationship between
2006 May 25
7
Grouping controllers
I''m grouping controllers to avoid cluttering the top-level namespace.
First, I used script/generate Admin::Customers new edit show list and then I
used
script/generate Admin::Providers new edit show list.
The generator created the subfolders correctly: I have an admin folder and
inside there''s customer_controller.rb and provider_controller.rb.
I have the same structure in
2007 Nov 07
2
dates
Dear R users,
I am just starting with R and am currently needing a lot of help! Sorry if
I disturb you and thank you for your answers!!!
Here goes my question: How do I make R reconize my date columns as dates?
When I "summary" my table, the levels of my date column are completely out
of order.
Thank you again for this tip,
Marcia
--
View this message in context:
2009 Dec 17
2
mantel test and NAs
Dear R users,
I am having a problem performing the mantel test (both with functions mantel
{vegan} and mantel.test {ape}) due to I believe the presence of NAs on my
distance matrices, which look like e.g.:
NA
1 2
1 2 3
NA 4 5 6
and
1
1 2
2 3 4
5 6 7 8
Would any of you have a solution for that?
Thank you for much for your help!
Marcia Rocha
--
View this message in
2007 Jan 04
3
TC again - now working on VPN traffic
Hi!
It''s me again bothering you guys, what I want to do is to give full
bandwidth to VPN traffic and limit the rest to 30KB/s (kilobytespersecond),
ok?
Here''s what I have:
tcclasses
##################################
eth0 1 1kbps 70kbps 1
eth0 2 1kbps 30kbps 2 default
eth1 3 15kbps 10000kbps 1
eth1 4
2008 Jul 11
3
Start preferred RGui
Dear R users,
I have been having a problem since I installed the new versions of TinnR and
R on my computer (1.19.4.7 and 2.6.0 respectively). I used to open R by the
command "start preferred RGUI", on the "R" tab of TinnR's menu. But now,
since I updated both softwares (which was necessary for some compatibility
issue with Windows Vista), the path for my preferred RGui (
2007 Nov 30
1
main plot title
Dear R users,
I am having a problem with the main title of a plot. I have written a
function returning a plot and I would like that the main title of this plot
shows actually the name of the dataset I have used. So, for instance: if my
dataset is called Chl, I would like that my plot to be entitled : "Raw
periodogram of Chl". I know the function "paste". I suppose I would be
2006 Feb 13
8
Anyone have Ruby for IIS installer?
Erwin:
We found it''s not worth the time to do this. It won''t work reliably.
You''re in for a world of hurt. We''ve given up on the idea after several
months of trying (and some great feedback from this list). There are
some on this list who claim to have gotten it to work, but that might
just be luck.
We''re now using Apache on a higher port, and using
2008 Jan 16
2
R and Vista
Hello R users,
I have been using R for a while on xp and have just updated my system to
vista. Have encountered some problems... First and main problem is that i
cannot make R recognize my own written functions by coping them into the
Rprofile.site on the etc folder. For some reason, this very useful tool
seems not to be working anymore. Could someone help?? Any other suggestion
to make R start
2008 Aug 19
1
jpeg, dev.off() inside function
Dear all,
I am trying to plot and save the plots. I have written a small function for
that in which I use the jpeg and dev.off() commands. Strangely, when these
commands are inside the function, they are not working anymore.
For instance:
dataframe<- data.frame (x=c(1:20),y=seq(0,9.5, length=20))
for (i in seq(0,15, length=4)){
setwd ("C:/R")
jpeg(filename =
2007 Dec 06
2
simple problems
Hello R users,
I have been looking through Help files and Nabble list for the answers for
these simple questions, but it seems to be fruitless.
1- in a data frame with two columns, x and y, how do I get the corresponding
value of x to, let's say, the minimum value of the y column (min (data$y)) ?
2- how do I solve a simple equation? Considering the equation y= exp(-x)^12,
I would like to find
2006 May 25
11
belongs_to confusion and some other questions - thanks!
Hello all,
Thanks for the help in advance, I am having some trouble with
belongs_to, and I caint seem to figure it out.
I have two tables, one called ''pow_users'' and one is called ''pow_site''
pow_users has a field called site that has the site ID for primary id in
the pow_site'' table.
the pow_site table setup as the Site class with the following:
2006 Mar 16
5
Multiple databases + switching databases
Hello,
I have an application that access two different DBMS - Firebird
and Postgres. So far, that''s ok. The problem is, depending on the
customer logged, a different database (Firebird) must be selected.
To make the things clearer:
Postgres: 1 database shared by all customers with these tables:
- user
- vehicle
- driver
Firebird: several databases with different names and identical
2006 May 17
13
Using NTLM for S.S.O. in Rails
Greetings all,
To all the good souls that happen to know NTLM and Rails....
Short version:
--------------
- I''m looking for server code to extract credentials through NTLM dialog
with the client (IE)
- I found nothing usable/useful (as they both implement the client side
code) in
- rubyntlm on rubyforge
- lib ntlm-ruby by Jonathan Bastien-Filiatrau
LONG version:
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 Dec 06
5
Win32 gems for mongrel (0.3.18) and mongrel_service (0.3.1)
Hello Users!,
Since the pre-release 0.3.18 (last week) Lot of things happen in
ruby-land (check the DoS security bulletin, please).
Anyway, the win32 folks being left on the side of the road, and cannot
provide feedback of stability due lack of binaries for the latest
releases.
So, I managed to upload the pre-built gem to my host:
http://www.mmediasys.com/releases/mongrel-0.3.18-mswin32.gem
2006 Mar 04
29
Getting RJS / EgdeRails working
Hi,
using Rails 1.0 on windows (without svn yet) I just wrote "rake
freeze_edge". Are the RJS-templates already included then ? When I write
"rake update_javascripts" I receive this error:
svn: ''.'' is not a working copy
Any tipps for a newbie on how to get the update done (if neccessary) ?
thx
Jan
2006 Mar 07
4
Edge Rails - same code, different issues on mac and windows
Trying to get an app up and running with Edge Rails, and I''ve run into
different issues on Mac and Windows with the exact same code. It''s similar
to the issue posted in the previous RJS/Edge Rails thread, but I didn''t see
any answers in there (maybe I missed the real answer?) Both console/error
outputs listed below:
I can''t even get WEBrick to start on
2007 Nov 07
2
merb 0.4.0 session issue
Not sure if anyone else has had this problem.
I was running on merb edge fine a few days ago. Last night I went to
merb 0.4.0 via gem install and now any call to session[:foo] causes an
error >> undefined method ''[]'' for nil:NilClass
I have uninstalled and reinstalled merb with no luck.
dependencies.rb
use_orm :activerecord
merb.yml
:session_store: active_record
Gems
2006 Mar 07
12
Edge Rails doesn''t work for my app
My app was fine before "rake freeze_edge" but after, I can no longer boot up
webrick.
I''m on Win Xp MySql backend and this is what I get
=> Booting WEBrick...
./script/../config/../vendor/rails/activesupport/lib/active_support/core_ext/ker
nel/agnostics.rb:7:in ``'': Exec format error - rake tmp:create
(Errno::ENOEXEC)
from