Displaying 20 results from an estimated 900 matches similar to: "Virtual Hosts?"
2007 Jan 19
1
Bug Report: ACL plugin searches wrong directory with shared folders
I've been attempting to get to get Shared Folders and ACL's to work
under dovecot 1.0rc17. Unfortunately, I've run into some problems
(many have already been mentioned on the list), specifically the
problem where folder-specific ACL files are not found (and I will not
use Global ACL's due to the 100% probability of cross-namespace
mailbox name conflicts). My namespace
2006 Jan 12
6
Mysql::Error: Lost connection to MySQL server during query
I have been very VERY frustrated for the past week trying to solve a
seemingly spurious problem with my Windows XP SP2 box with Ruby
1.8.2/Rails 1.0.0/MySQL 5.0.16 or 4.1.15 (yes, I tried both) installed
running against a remote MySQL server that was either 3.23 or 4.1
(4.1.15 to be exact--we finally matched them both up to make sure that
wasn''t the problem).
So I post it here (as
2005 Jun 18
1
Running general purpose queries
Hi,
I''m considering migrating my site from php to RoR. I''ve installed RoR gone
through the onlamp tutorials and made the recipie/todo list sample sites and
tinkered with a few of my own. I understand the examples that use models
and scaffolding to map tables, but I''m having a little trouble understanding
how to handle general purpose queries. A few people have
2006 Apr 27
4
GD2 to Make Charts
I''m just getting started with GD2 and have successfully made a few
dynamic PNGs. I need to make some fairly detailed line graphs on the
fly and I know that GD2 is capable of what I want but I strongly suspect
I''m reinventing the wheel badly. Are there gems or other projects that
help creating complex charts? I''ve used GDChart in the distant past
but I
2006 May 04
3
Rubyonrails.org Website Blocked
Hi Everyone,
This is basically an FYI because I don''t think there is much that can be
done about it. I work at a DoD lab and up until very recently I had no
problems at all getting to rubyonrails.org. All week long I have not
been able to visit the site and I finally gave up and submitted a
trouble call to our network help desk. I was told that the site was in
a class B range
2013 Apr 18
0
Bad password when using "map untrusted to domain"
Greetings samba list,
I'm running into an issue when attempting to use "map unknown to domain" on a samba servers bound to my AD domain. When a client maps a share and is not part of the domain, the domain is properly mapped for the user (according to the logs), but the domain controllers report that the password is wrong. I've copied my password out of notepad and pasted it
2006 Jan 11
2
validator to ensure two fields are different?
What validator can I use in a model to ensure that my :username field is
different from my :password field?
I''ve tried
validates_exclusion_of :password, :in =>:username
but I get a rails error
"an object with the method include? is required must be supplied as the :in
option of the configuration hash"
Thanks!
Gary
2007 Feb 27
2
Dovecot rc23 and rc24 freeze after authentication
I had our production systems running on rc23, however we ran into
problems when the server was under heavy load. Eventually, the
server would begin to freeze all imap connection after authentication
(according to the logs). A user would connect, authentication would
succeed, and then the connection would sit until timing out. No
error logs were produced. Upgrading to rc24 did not
2006 Apr 01
1
Tuning for large number of directory entries?
I have been running a public MySQL server for over 4 years. The system was a 1GHz box with 256MB of RAM. MySQL puts each database into a seperate directory in a single "data" directory. Once the old system reached about 10K databases the connection times increased 10X or more. I attributed the speed problems to a possible filesystem limitation with a large number of files. That
2003 Mar 06
1
ext3 and indexed directories
I work with a MySQL installation containing several thousand databases. MySQL represents each database as a seperate sub-directory of the main MySQL data directory. As the number of databases increases it seems that the time to connect is increasing significantly and I believe this is probably due to the time necessary to search through the large number of directory entries.
It has been
2002 Sep 05
1
EXT3 Corruption Question
Greetings Everyone,
A group in my office is designing/integrating what I would loosly label as an "embedded system". In that, it performs a dedicated task and is not a general purpose workstation or server. It operates in a harsh environment, particularly a questionable power environment and they are extremely concerned about inadvertent shutdown and recovery. They were totally
2005 Nov 18
2
Migrate Ubuntu Rails App to Fedora?
I developed a small RoR app on my Ubuntu laptop and I just tried to migrate
it to my "production" box which is Fedora FC3. I moved the entire rails
app. I received this error when I tried to get the first page:
[2005-11-17 15:36:00] INFO WEBrick::HTTPServer#start: pid=32546 port=3000
192.168.0.61 - - [17/Nov/2005:15:40:01 EST] "GET /freesql HTTP/1.1" 200 0
- ->
2005 Dec 18
1
session temp files?
I''m running a simple WEBrick server for a small rails website. I probably
get less than 100 hits per hour. I just looked in /tmp on the server and
there are over 10,000 ruby_sess.* temp files containing:
" hash{"
flashIC:''ActionController::Flash::FlashHash{:
@used{
They''ve piled up so much that I can''t even rm -f ruby*. Bash complains
2006 Mar 01
5
validations without AR - going crazy trying to find link
Hi,
in the past few months someone posted an entry on their blog about
how to do validations in non-AR classes and I cant find it any more.
Anyone have a link?
Thanks,
Trevor
--
Trevor Squires
http://somethinglearned.com
2005 Dec 20
7
wrong id for activerecord object when using :joins in mysql
I''m using a find with a :joins clause, like this:
:joins => "JOIN table_b ON table_b.id=table_b_id"
The records returned are used in a scaffold generated list page. The edit,
show, and destroy links are getting the wrong id. They are getting the id of
the table b record.
When I run the query using mysql, I see that the query returns *2* id
columns, the id of the main
2005 Dec 16
4
Validation with Aggregation
ActiveRecord supports composed_of for value objects which is
fantastic but one thing that it doesn''t seem to support (or at least
I am unable to find any documentation for) validation of the value
objects.
For example, given the following:
class Message < ActiveRecord::Base
composed_of :sender, :class_name => ''EmailAddress''
composed_of :recipient,
2006 Jan 30
3
ActiveRecord without database
The question is this.
Can I use ActiveRecord without the presence of a database?
I use only YAML file for my project and I would like use the power of
ActiveRecord for my models. I have not tested and so I ask you if this
is possible.
Thanks so much.
--Reis
--
Posted via http://www.ruby-forum.com/.
2007 Jan 16
1
Indentifier muddle
Hi, all.
Samba 3.022 on Ubuntu Edgy:
I have a situation where win XP clients logon to our one and only PDC.
They access home dirs and save stuff there. They can also, for e.g add
a shortcut to their desktop.
Wierd thing is any edits to screen effects are dropped, for instance.
They also can't set the proxy server address & port in IE. A check
after they click OK shows the entry has been
2006 Jun 25
3
Dummy field in a model
I want to have a field in model, which I''m not storing in a database.
And I want to do something like the following in the model code :
validates_format_of :field_NOT_in_db, :with => session[:field]
How can I do it ?
Thanks,
Pratik
--
rm -rf / 2>/dev/null - http://null.in
2006 Aug 16
5
too many SESSIONS?
I just notices my app was down, and in the log file were lots of these:
No space left on device -
../config/../tmp/sessions//ruby_sess.898b1cf95e14f8e3
So i figured that i had too many sessions. I went through and deleted
the sessions and then in a few minutes, the site was back up again.
Can anyone explain this?
Did I do the right thing?
Is there a way I can tell my app to accept more