Displaying 13 results from an estimated 13 matches for "gerungan".
2005 Aug 21
8
validates_numericality_of
As far as I can tell "numericality" is not a word. Maybe this method
should be renamed.
--
R. Mark Volkmann
Partner, Object Computing, Inc.
2006 Mar 09
16
Preloading child rows 2 levels deep?
I currently have 3 tables/models: 1) Clients, 2) Charges, and 3)
Court_Dates.
Clients 1..n Charges 1..n Court_Dates
I am trying to find all clients that have a court_date on a certain day:
something along the lines of (@client.charge.court_date.date ==
Date.today).
I have had success preloading child rows using the :include parameter,
but that only works with a parent and a child, or a
2007 Jun 13
1
Apache proxy error with uploads only
Is there a *searchable* archive for this mailing list?
If not, I''m using Apache 2.2.3 and Mongrel 1.0.1 on FreeBSD 5.4-
RELEASE-p22 #11. Google gave me the following solutions for uploads
that result in a proxy error:
SetEnv force-proxy-request-1.0 1
SetEnv proxy-nokeepalive 1
or
KeepAlive Off
in Apache''s VirtualHost directive.
Regrettably none of these work.
2006 Jan 20
3
Process watchdogging anyone ?
Hi !
I have Lighttpd and SCGI clusters running my applications. I
self-host at RimuHosting, but I find that my processes die sometimes.
I''m not a Linux administrator, so I simply want some kind of
watchdogging process to ensure my stuff keeps on truckin''.
I found Watchdog::Process on CPAN, but it won''t install. There''s some
kind of error. Launchd would be
2005 Dec 14
3
Migrations bug with Rails 1.0, PostgreSQL 8.1?
Filed a ticket for bogus Ruby produced via:
rake db_schema_dump
http://dev.rubyonrails.org/ticket/3232
I''d appreciate it if someone could verify against
PostgreSQL 8.0.x
--
-- Tom Mornini
2006 Feb 11
5
[OT] How to prepend copyright notices to each source file
Sorry for the off-topic post, but I guess someone else may hit the same
issue....
Having developed a rails application, I now need to put GPL text and a
copyright notice at the start of each source file. For the .rb files, this
will look like:
# Copyright 2006 Robert Jones...........
and for the .rhtml files it will look like:
<!-- Copyright 2006 Robert Jones.........
Can anyone think of
2006 Aug 25
10
SVN security hole explained
Hi all,
If you are using Pound / Pen or another load balancer, I believe you
should read this:
http://blog.teksol.info/articles/2006/08/25/subversion-metadata-exposure-on-mongrel
My article refers to Dan Benjamin''s
http://hivelogic.com/articles/2006/04/30/preventing_svn_exposure
My point is that even though we are preventing Apache from serving
anything except a select few file
2006 Mar 10
10
Textmate Rails Plugin Cheat Sheet
I''m a slow learner when it come to shortcuts and i got real tired
looking up Textmate''s Rails snippets & commands in the context menu.
So i fired up trusty OmniGraffle and quickly created a little Cheat
Sheet for all default snippets/macros/commands in Textmate''s current
Rails Bundle. Certainly helped me to remember these quickly. So, if
you''re
2006 Jan 21
19
RoR - Mac OS 10.4.4 on Intel
I got a new 20 inch iMac dual core today and am busy getting it all
setup. A couple of issues though:
1. Is the Ruby 1.8.2 install by Apple still botched or has that been
fixed? I recall someone had fixed the rbconfig.rb to get it working.
Is this something I still have to do?
2. Does anyone know if Locomotive is using the uniersal binaries, or is
it targetting PPC yet? I couldn''t
2006 Jan 18
15
Anyone got Globalize working???
Hi all
In another thread I complain about an error I get after trying to get
Globalize working.
http://www.ruby-forum.com/topic/51988#new
Now I want to ask you, if anybody of you has ever got Globalize working?
I have done exactly what''s written in the (absolutely much too short)
tutorial of its wiki...
http://globalize.diluvia.net/wiki
...and I''m very frustrated that no
2006 Jan 17
30
MVC design good/bad
I am curious what you find is good and bad MVC design.
Let''s use the find and find_by_sql methods as examples.
Currently I have these spread out all over the place...
View: here I have some find methods when I am for example populating a
select list with choices in a form.
Controller: here I have the simpler find methods.
Model: here I have the more complicated find methods (usually
2006 May 02
96
[ADV] Second Edition of Agile Web Development with Rails
ANNOUNCING AGILE WEB DEVELOPMENT WITH RAILS, SECOND EDITION
===========================================================
http://www.pragmaticprogrammer.com/titles/rails2/
Rails has changed a lot since we announced the first edition of the
book a year ago. DHH says that the 1.1 release "boasts more than 500
fixes, tweaks, and features from more than 100 contributors." Who
are we to
2006 Aug 27
0
vmysql: sql error[3]
I keep getting these messages in the log:
@4000000044f1db7732acaddc dovecot: Error: auth(default): vmysql: sql
error[3]: MySQL server has gone away
I see that at least one user has the same problem:
http://www.mail-archive.com/vchkpw at inter7.com/msg23311.html
Unfortunately, no solution is given.
I also found the MySQL Problems page on the wiki, but the issues are
supposed to be resolved