Re: [Rails-core] Investigating i10n/i18n issues

2005-12-20 Thread Obie Fernandez
+1 I don't think I understand the hesitation. obie On 12/20/05, Joshua Harvey <[EMAIL PROTECTED]> wrote: > I think Julik brought up a very important issue, and I wish it had > gotten more attention. Ruby's Unicode string handling is broken, > mostly because it doesn't count multibyte characters

Re: [Rails-core] plugin patches

2006-01-04 Thread Obie Fernandez
+1 to rails plugin list I'm normally against list proliferation, but this idea would really help IMO. On 1/4/06, Rick Olson <[EMAIL PROTECTED]> wrote: > On 1/4/06, Ara.T.Howard <[EMAIL PROTECTED]> wrote: > > > > i realize this is 'rails-core', but should patches to common (filecolumn) > > plugins

Re: [Rails-core] Engines, Components and Modules

2006-01-04 Thread Obie Fernandez
> I understand that the /components tree is more or less depricated, and > I'd really like to see something done with it along these lines. Has this deprecation you speak of been written up anywhere or just your opinion? Just curious. ___ Rails-core mail

Re: [Rails-core] Why does Object.subclasses_of ignore subclasses within modules?

2006-01-19 Thread Obie Fernandez
+1 I ran into this myself while doing some complex STI stuff a few months ago Obie On 1/19/06, Tom Ward <[EMAIL PROTECTED]> wrote: > ActiveSupport provides a method Object.subclasses_of, shown below: > > def subclasses_of(*superclasses) > subclasses = [] > ObjectSpace.each_object(Class) d

Re: [Rails-core] Default <%= to use the h (html safe) method.

2006-02-11 Thread Obie Fernandez
+1 Would reduce clutter on the templates. It's pretty annoying to have to remember to put them in, and even more annoying to get tickets from QA about XSS. On 2/11/06, Nathaniel S. H. Brown <[EMAIL PROTECTED]> wrote: > I was just reading a blog post, about how PHP applications lack so much as > f

Re: [Rails-core] Default <%= to use the h (html safe) method.

2006-02-12 Thread Obie Fernandez
In one case two years ago (not a Rails app but it would have been) the QA team verifying the app we built had some sort of automated tool that checked for XSS vulnerabilities to the extreme and forced us to address each and every one of them, despite the fact that it was an internal-facing webapp.

Re: [Rails-core] Default <%= to use the h (html safe) method.

2006-02-12 Thread Obie Fernandez
> How is that operator different from <%=h my_string %>? > > Here's a suggestion: If you use html_escape more than regular output, > bind your TextMate (or whatever editor) hotkey for ERb outputs to > include the h by default. That'd be a very Less Software approach to > doing the same. Point tak

Re: [Rails-core] Confused about the new generator behavior with migrations

2006-03-04 Thread Obie Fernandez
[slightly off-topic] FWIW, I've been telling my experienced developers learning Rails to avoid scaffolding. They are un-agile IMO in the sense that they encourage deviation from proper story-driven development and test-first programming. Perhaps just me, and certainly a subtle psychological thing,

Re: [Rails-core] Change to set_fixture_class

2006-03-06 Thread Obie Fernandez
of migrating everyone to MySQL5 but the whole experience has been a total PITA so far. Obie On 3/6/06, Rick Olson <[EMAIL PROTECTED]> wrote: > > Additionally, Obie Fernandez recently posted about a different way of > > reworking fixtures (http://jroller.com/page/obie/20060304) that

[Rails-core] edgerails broken on windows

2006-03-07 Thread Obie Fernandez
by Revision 3761 [DHH] Added automatic creation of tmp/ when running script/server C:\workspace\kipling>ruby script\server => Booting WEBrick... ./script/../config/../vendor/rails/activesupport/lib/active_support/core_ext/kernel/agnostics.rb:7:in ``': Exec format error - rake tmp:create (Errno::EN

Re: [Rails-core] Should render(:partial, :collection => nil) do anything special ?

2006-03-30 Thread Obie Fernandez
This very issue wasted a few minutes of my time yesterday. I agree it should raise an exception. On 3/30/06, Kevin Clark <[EMAIL PROTECTED]> wrote: > I think it should raise. If you're calling render partial collection > with nil, there's a problem.. an empty collection ([]) should not > render an

Re: [Rails-core] Armageddon?

2006-04-22 Thread Obie Fernandez
I could have sworn DHH said he ran a Twisted server daemon specifically to handle the long-lived Armageddon threads. Obie ..who was raised as a JW hence found the Armageddon reference particularly funny! On 4/22/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > Instant messenger like systems he

Re: [Rails-core] Continuous integration - with the common plugins ?

2006-06-05 Thread Obie Fernandez
Bitten, the CI plugin for trac is a master/slave build server that might work really well here. We've been using it on my current Rails project because the master is on our team server out on the internet and the actual build has to happen behind a corporate firewall. I'm suggesting the Rails cor

[Rails-core] #5544: [PATCH] Add underscore_table_names option to ActiveRecord::Base

2006-06-28 Thread Obie Fernandez
FYI... whenever someone is in a committing mood, the following is a small no-brainer (IMHO) Cheers, Obie #5544: [PATCH] Add underscore_table_names option to ActiveRecord::Base -+-- Reporter: [EMAIL PROTECTED] | Owner

[Rails-core] Re: [Ruby on Rails] #5544: [PATCH] Add underscore_table_names option to ActiveRecord::Base

2006-06-28 Thread Obie Fernandez
wtf? did I miss a previous discussion on this or something? That's an ugly hack if I've ever seen one. - obie Changes (by bitsweat): * resolution: => wontfix * version: => 1.1.1 * status: new => closed Comment: Pass a block wrapping the default table name to {{{set_table_name}}} {{{ class

Re: [Rails-core] Re: [Ruby on Rails] #5544: [PATCH] Add underscore_table_names option to ActiveRecord::Base

2006-06-29 Thread Obie Fernandez
how it is pleasantly pluggable either. Looks like a total hack to me. Obie On 6/29/06, Michael Koziarski <[EMAIL PROTECTED]> wrote: I think something like this may be more suitable for acts_as_legacy. There are a myriad of enterprise naming standards (ZX_CST_ID__) and we'll never supp

Re: [Rails-core] Re: [Ruby on Rails] #5544: [PATCH] Add underscore_table_names option to ActiveRecord::Base

2006-06-29 Thread Obie Fernandez
Okay it really isn't common enough to justify argument. No hard feelings. Thanks, Obie On 6/29/06, Jeremy Kemper <[EMAIL PROTECTED]> wrote: On Jun 29, 2006, at 3:36 PM, Obie Fernandez wrote: > I think my patch is merited, but if nobody else thinks so then I'll > defe