search the ror trac for 'replication'
http://dev.rubyonrails.org/ticket/2041
hth
-- courtenay
On 11/23/05, Robert Cottrell <[EMAIL PROTECTED]> wrote:
> I've been thinking about this as well, as our sites are now starting
> to push the limits of a single MySQL dat
; something_else
end
This patch addresses this issue, as well as cleaning up a bunch of
inconsistent conditional code style (mainly, stripping out 'then' in
the few places it occurred)
courtenay
http://caboo.se @o O@
case_colon_patch.diff
Description: B
wrote:
Damn that's ugly. I'd rather stay on 1.8.4...
On 7/31/06, Courtenay <[EMAIL PROTECTED]> wrote:
>
When running ruby 1.8.5 (latest, stable) a bunch of warnings show up.
activerecord/lib/active_record/connection_adapters/oracle_adapter.rb:500:
warning: colon will be obsoleted
ah! but is consistency a strength?
On 7/31/06, David Heinemeier Hansson <[EMAIL PROTECTED]> wrote:
> I guess my reason for the patch was that there is inconsistency across
> rails, with a mix of then, colon, semicolon, and newline.. any
> thoughts on what it should be?
Very much depends on what
neutral?
q1: separator on short-line conditionals
(a) then
(b) semicolon
(c) colon (screw matz! we're taking it back!)
q2: spacing
(a) separator with the conditional (when blah:stuff)
(b) separator lined up (when blah : stuff)
_