Displaying 20 results from an estimated 300 matches similar to: "mongrel_config has no output"
2006 Oct 31
12
Moving page_cache_directory
Howdy. I''m working on a RoR CMS and need cached pages to all be in
public/cache rather than public [in order to set svn:ignore on all the files
properly]. I can get page_cache_directory set correctly and the pages are
cached in the right place but Mongrel isn''t serving them because it''s only
looking for them in public. During development I know I can set -r
public/cache
2009 Mar 08
1
re shaping a data frame with multiple IDs
Dear R-experts,
I have the following "long" data frame:
ID <-
2007 Oct 19
0
X-Sendfile, static files, windows
Jeremy,
I found your old message with this title. I struck the same thing,
where the current drive wasn''t the same as the drive I wanted to
serve (some) files from. So here''s the patch to add to
lib/mongrel/handlers.rb contains class DirHandler. I added two
things, first to initialize:
def initialize(path, listing_allowed=true, index_html="index.html")
2007 Nov 14
1
has_many_polymorphs and acts_as_list ?
First, BRAVO for this wonderful plugin: has_many_polymorphs ! Now my
problem:
4 models : Collection, Page, Fragment, Belonging (which is the join
table):
1 class Collection <
ActiveRecord::Base
2 has_many_polymorphs :elements,
3 :through => :belongings,
4 :from => [:pages, :fragments, :collections],
5 :as => :collector,
6 :parent_order =>
2008 May 03
2
backgroundrb / actionmailer / sendmail
Hello,
I''m trying to send emails from a backgroundrb worker and the email doesn''t
send. I get no log messages in the sendmail log or the system log, nothing
in the backgroundrb logs at all, nothing in the production log.
Below is my code for each component
worker:
class QuizReviewerWorker < BackgrounDRb::MetaWorker
set_worker_name :quiz_review_sender
def create(args =
2012 Dec 21
1
Hiera and 'clientcert' fact not working :(
Morning All
I''m trying to use Hiera with Puppet 3.0 to streamline some of my module
configuration...
However I''m having issues using the ''*%{::clientcert}*'' variable as part of
the hierarchy...
Currently, my *hiera.yaml* file looks like:
---
:backends:
- yaml
- json
:yaml:
:datadir: /etc/puppet/hieradata
:json:
:datadir: /etc/puppet/hieradata
2015 Apr 24
2
Test coverage results available online
Dear OpenSHH developers,
in case this helps with your testing efforts:
At
http://www.opencoverage.net/projects/openssh/index_html/sources.html
you'll find an overview of the condition/decision code coverage as
achieved through a run of the test suite. The state last used is from the
git master branch commit 70860b6.
You might find the total coverage 27.8% to be much lower than what
2005 Dec 06
1
Squid Content Scanning tool
Hello all,
This is my first post here on CentOS list and I wanted to know if there
are plans to make available as CentOS RPMs applications allowing the
Antivirus scan of all downloaded objects through a Squid proxy, I
especialy think about tools like viralator, havp, or safesquid ?
A lot of my customers ask for solutions like that and like I realy felt in
love with CentOS I prefer to have
2004 Feb 16
2
R Included with Open Infrastructure for Outcomes (OIO) system
Hi all,
I came across this article on LinuxMedNews (http://www.linuxmednews.com)
this morning:
http://www.linuxmednews.com/linuxmednews/1076524250/index_html
This refers to an integrated data management and analysis system (OIO),
which includes R and utilizes the RSessionDA package (Greg Warnes).
More information is available here for those interested:
2006 Mar 15
6
Mongrel Web Server 0.3.11 -- Edge Rails and Win32 Compliant
Hello Folks,
This is the big release of Mongrel that''s been in the works for a while now
(well, like a week). It is chock full of changes and features, but mostly
it syncs up the Win32 side of things, and validates that Edge Rails works
without problems. It also features a more extensive and useful example of
the GemPlugins called mongrel_config.
First the usual stuff for people
2008 Jan 12
1
Collection_Select not showing Selected option
Hi, I''m having some problem with getting collection_select to return
the current value when editing a record. According to everything I''ve
seen, there was an issue but it''s been fixed, but I can''t figure out
why it isn''t returning the current value as a selected option. I''ve
checked the table structures, and both the call_driver.product_line_id
2006 Apr 27
4
Sessions Problems
Hi to group!
I am new to ROR!
I am facing problems on sessions.
First I created the one session variable.
after that I created the other one.
after moving to three pages the session was destroyed automatically.
What is the reason please help me!
Thnaks and Regards,
-Kumar Varma
--
Posted via http://www.ruby-forum.com/.
2005 Dec 16
3
Help with error
I am getting this error
NoMethodError in Admin#add_to_project
undefined method `find'' for #<Project:0x249da88>
RAILS_ROOT: script/../config/..
Application Trace | Framework Trace | Full Trace
/usr/lib/ruby/gems/1.8/gems/activerecord-1.13.2/lib/active_record/
base.rb:1501:in `method_missing''
./script/../config/../app/controllers/admin_controller.rb:65:in
2006 Apr 04
2
HABTM
Hi.
Im new to Ruby and new to Ruby on Rails and have problems realizing a =20=
simple many_to_many relationship:
My tables:
items <-> items_users <-> users
------------------------------------------------------------------------=20=
--------------------------------------
id user_id =
id
name item_id name
... =
password
=
......
My Code:
class
2006 May 01
2
Mongrel: Config File Q
I''d like to be able to type mongrel_rails start and have mongrel read a conf
file like lighttpd does. I''m pretty sure this can be done but the
documentation refers to a camping interface and I just don''t see it.
Can someone point me in the right direction?
Thx
--
View this message in context: http://www.nabble.com/Mongrel%3A-Config-File-Q-t1535646.html#a4172243
Sent
2007 Oct 07
1
activerecord problem with contrains,belongs_to and has_many keyword
Hi,
I have two models:
AdvertisementImages (table: advertisement_images)
Advertisement (table: advertisements)
The table advertisement_images has a foreign key to advertisements
called advertisement_id. Both tables has one entry where the entry in
dvertisement_images belongs to advertisement.
The model code looks lik this so far:
class AdvertisementImages < ActiveRecord::Base
file_column
2010 Mar 23
0
Frozen hash problem
I''d like to delete some records before saving them. I ran this
experiment:
before_save :prune_lab_datas
def prune_lab_datas
lab_datas.each do |lab_data|
lab_data.destroy
end
raise lab_datas.to_yaml
end
But nothing seems to be deleted in the hash:
---
- &id001 !ruby/object:LabData
attributes:
created_at: 2010-03-21 22:16:06
unit_id: "3"
2007 Mar 05
3
Cannot save session in IE6
A search only returned this thread:
http://www.ruby-forum.com/topic/71970#101107
FF and IE7 both accept and store sessions as such:
--- !ruby/object:CGI::Session
data: &id001
:person_id: 1
:person_name: Bob
flash: !map:ActionController::Flash::FlashHash {}
But IE6 refuses to store the session and returns this:
--- !ruby/object:CGI::Session
data: &id001
flash:
2006 Aug 08
11
Newb question- method not working
I know this shouldn''t be in the view but to test the code it is.
Anyway if I do just session[user] I get back the user id (the id from
the user table)
which is good.
However this code does not work.
<% a = session[:user] %>
<% uname = User.find(:first, :conditions => id = a) %>
<%= @uname %>
TIA
Stuart
2007 Feb 07
0
strange sqlite3 errors - validates_associated & failing activerecord unit tests
I''m getting two strange errors, both which I believe relate to sqlite3.
The first one is with validates associated. Here is my test:
require File.dirname(__FILE__) + ''/../test_helper''
class SubscriptionPlanTest < Test::Unit::TestCase
fixtures :subscription_plans
fixtures :publications
def setup
@six_month_gold = subscription_plans(:six_month_gold)