[Rails-core] Re: Out with database.yml

2008-06-11 Thread Matt Palmer
On Wed, Jun 11, 2008 at 06:22:52PM -0700, Scott Bronson wrote: > > On Wed, Jun 11, 2008 at 5:58 PM, Matt Palmer <[EMAIL PROTECTED]> wrote: > > If anything, this patch is anti-DRY because it locks up the database config > > in a place that can only be read by Rails...

[Rails-core] Re: Out with database.yml

2008-06-11 Thread Matt Palmer
On Wed, Jun 11, 2008 at 02:16:13PM -0700, Scott Bronson wrote: > > On Wed, Jun 11, 2008 at 9:55 AM, Ben Munat <[EMAIL PROTECTED]> wrote: > > However, the main benefit of switching to a Ruby config file seems to be > > "because database.yml was the only yaml config file", which doesn't seem > > li

[Rails-core] Re: Out with database.yml

2008-06-11 Thread Matt Palmer
On Wed, Jun 11, 2008 at 12:08:42PM -0500, Adam Keys wrote: > As the name of the patch implies, this approach is also considerably > DRYer. If you want, you can define everything in environment.rb and > move on. I'm not sure how you're repeating yourself by putting the database config in a sep

[Rails-core] Re: Rails Edge gem?

2008-04-26 Thread Matt Palmer
On Sat, Apr 26, 2008 at 05:51:19PM -0700, Josh Peek wrote: > On Apr 25, 1:08 pm, Trevor Turk <[EMAIL PROTECTED]> wrote: > > Now that github has built this gem server setup (see links below), > > would it be possible to set up a gem for "rails edge" hosted on > > github? This would allow you to do

[Rails-core] Re: [CruiseControl] RubyOnRails build 8818 failed

2008-02-07 Thread Matt Palmer
On Thu, Feb 07, 2008 at 03:20:44PM -0800, Jeremy Kemper wrote: > On 2/7/08, Alexey Verkhovsky <[EMAIL PROTECTED]> wrote: > > Yup. I can reproduce this on my laptop. > > Looks like you were getting the old .rhtml templates rather than the .erb > > Should be fixed.. I actually thought those .rhtm

[Rails-core] Re: [CruiseControl] RubyOnRails build 8818 failed

2008-02-07 Thread Matt Palmer
On Thu, Feb 07, 2008 at 04:13:39PM -0700, Alexey Verkhovsky wrote: > On Feb 7, 2008 4:10 PM, Matt Palmer <[EMAIL PROTECTED]> wrote: > > What similarities and differences are there between the CI machine and your > > laptop? It might help me build an environment I can make th

[Rails-core] Re: [CruiseControl] RubyOnRails build 8818 failed

2008-02-07 Thread Matt Palmer
On Thu, Feb 07, 2008 at 02:38:47PM -0800, Jeremy Kemper wrote: [ActionMailer test failures] > Is *anyone* else seeing these test failures? Not yet, but I'm going to build an environment that successfully fails (oi!) and nail these tests. Me and CentOS don't get along, though, so it's not trivial

[Rails-core] Re: [CruiseControl] RubyOnRails build 8818 failed

2008-02-07 Thread Matt Palmer
On Thu, Feb 07, 2008 at 03:56:51PM -0700, Alexey Verkhovsky wrote: > Yup. I can reproduce this on my laptop. What similarities and differences are there between the CI machine and your laptop? It might help me build an environment I can make this stuff fail in. - Matt -- [An ad for Microsoft]

[Rails-core] Re: [CruiseControl] RubyOnRails build 8816 failed

2008-02-07 Thread Matt Palmer
On Thu, Feb 07, 2008 at 03:31:15PM -0600, [EMAIL PROTECTED] wrote: > Name: test_should_be_able_to_make_a_successful_request(SessionFixationTest) > Type: Failure > Message: Exception raised: > Class: > Message: <"undefined method `encode64' for Base64:Module"> For anyone else playing the "obsessi

[Rails-core] Re: [CruiseControl] RubyOnRails build 8807 failed

2008-02-07 Thread Matt Palmer
On Thu, Feb 07, 2008 at 02:19:49PM -0700, Alexey Verkhovsky wrote: > On Feb 7, 2008 1:42 PM, Matt Palmer <[EMAIL PROTECTED]> wrote: > > ran the tzinfo-needing tests (higher test cound on the AR-related > > runs, and no "you need to install tzinfo" messages) &g

[Rails-core] Re: [CruiseControl] RubyOnRails build 8807 failed

2008-02-07 Thread Matt Palmer
On Thu, Feb 07, 2008 at 11:59:01AM -0700, Alexey Verkhovsky wrote: > On Feb 7, 2008 11:39 AM, Alexey Verkhovsky <[EMAIL PROTECTED]> wrote: > > On Feb 6, 2008 3:47 PM, Matt Palmer <[EMAIL PROTECTED]> wrote: > > > Also, Alexey, it might be worth installing the tzinf

[Rails-core] Re: [CruiseControl] RubyOnRails build 8807 failed

2008-02-06 Thread Matt Palmer
On Thu, Feb 07, 2008 at 11:28:25AM +1300, Michael Koziarski wrote: > > > This (and it's four cousins which I've snipped) are new, and caused by r8806 > > (which I didn't see the CI report for come through, although it's on the CC > > page; weird) which added tests that get really shirty if the tz

[Rails-core] Re: [BUG?] ar inheritance

2008-01-22 Thread Matt Palmer
On Tue, Jan 22, 2008 at 05:25:33PM -0700, ara.t.howard wrote: > > I still am surprised it did work before, but assuming it did, and the > > fix is simple, I'm happy to take a patch :) > > well i may be on thin ice - not knowing what's really intended in the > source - but, unless someone chimes

[Rails-core] Re: Generators in plugins

2008-01-20 Thread Matt Palmer
On Sun, Jan 20, 2008 at 04:40:25PM -0800, Rick Olson wrote: > > One vote against, then. Anyone else? > > A patch would be fine, it seems reasonable. Though, I don't really > see what it's hurting either. Distributed revision control is the reason it bit me -- metadata trees that happens to mir

[Rails-core] Re: Generators in plugins

2008-01-20 Thread Matt Palmer
On Mon, Jan 21, 2008 at 12:38:24PM +1300, Michael Koziarski wrote: > > That is still as ambiguous as the code, though -- does it mean just in the > > top-level, or anywhere? While the plural "directories" would suggest > > anywhere, but using a plural after an "or" is fairly common usage in > > E

[Rails-core] Re: Generators in plugins

2008-01-19 Thread Matt Palmer
On Fri, Jan 18, 2008 at 12:05:43PM +0100, Jean-François Trân wrote: > 2008/1/18, Matt Palmer <[EMAIL PROTECTED]>: > > Is it a bug or a feature that directories that happen to be named > > 'generators' deep inside a plugin (rather than at the top level) get > >

[Rails-core] Generators in plugins

2008-01-18 Thread Matt Palmer
Is it a bug or a feature that directories that happen to be named 'generators' deep inside a plugin (rather than at the top level) get searched for generators? It's not mentioned by the documentation, but I'm wondering if anyone's plugins might be broken by it, and if so, whether that's their pro

[Rails-core] Re: manuals.rubyonrails.com, documentation and apathy

2007-11-06 Thread Matt Palmer
On Tue, Nov 06, 2007 at 08:14:20AM -0800, DHH wrote: > > So who should update the official webpage with working links then? Is > > it world-editable by anyone? Is there any way Scott, or anyone, can > > make manuals.rubyonrails.com work? Is it wrong to assume that the > > maintainers of the webpag

[Rails-core] Re: plugin dependencies

2007-09-19 Thread Matt Palmer
On Wed, Sep 19, 2007 at 02:46:47PM -0500, Andrew Kaspick wrote: > Except there is no real concept of versions with plugins. Starting > with simple dependency requirements of "plugin X requires plugin Y" > would make me happy for now. Emphasis on "for now", I hope. When your dependencies can cha

[Rails-core] Re: world-writable log files

2007-09-12 Thread Matt Palmer
On Wed, Sep 12, 2007 at 10:21:21PM -0600, Gabe da Silveira wrote: > On 9/12/07, Ben Munat <[EMAIL PROTECTED]> wrote: > > > > > Considering that various other parts of Rails recommend 0666 perms on > > log > > > files, I'd say it was definitely deliberate. Ill-advised, definitely, > > but > > > de

[Rails-core] Re: world-writable log files

2007-09-12 Thread Matt Palmer
On Wed, Sep 12, 2007 at 01:16:31PM -1000, Ben Munat wrote: > I'm curious if there is some reason why the rails command creates the log > files > as world-writable. This doesn't seem very security conscious. > > I know I can have capistrano or puppet change the file mode on those, but > that's

[Rails-core] Re: render :update, :status => 500

2007-09-12 Thread Matt Palmer
On Wed, Sep 12, 2007 at 06:04:11PM -, Matt Zukowski wrote: > Is there a reason why render :update does not take the :status > parameter as most other forms of render do? > > Unless I'm missing something, looking at ActionController::Base, this > should be as easy to fix as: > > line 770 in a

[Rails-core] Re: move_to :plugins

2007-08-12 Thread Matt Palmer
On Mon, Aug 13, 2007 at 11:25:21AM +1200, Michael Koziarski wrote: > If people are passionate about the particular area, then they can > start their own plugins, and maintain them outside of the rails > repository. On this topic, has anyone considered a single place to manage tickets and possibly

[Rails-core] Re: ActiveRecord: private versus protected methods

2006-09-28 Thread Matt Palmer
On Wed, Sep 27, 2006 at 07:48:29PM -0700, urbanus wrote: > Rails migrations almost do what I need; except that you can't put > different sorts of migrations into the one Rails database (AFAIK). A couple of guys at a client of mine implemented this, and it involved opening up one method to the out

[Rails-core] Re: [Rails] Making rails thread safe, priority or not?

2006-08-24 Thread Matt Palmer
On Thu, Aug 24, 2006 at 05:05:28PM -0700, Jeremy Kemper wrote: > On 8/24/06, Matt Palmer <[EMAIL PROTECTED]> wrote: > > > > On Thu, Aug 24, 2006 at 01:46:11PM -0700, Jeremy Kemper wrote: > > > Why? > > > > I'm not quite as emphatic as snacktime when

[Rails-core] Re: [Rails] Making rails thread safe, priority or not?

2006-08-24 Thread Matt Palmer
On Thu, Aug 24, 2006 at 01:46:11PM -0700, Jeremy Kemper wrote: > On 8/24/06, snacktime <[EMAIL PROTECTED]> wrote: > > Maybe I've missed it, but I havent' seen any of the core team talk > > about whether they plan on fixing this in the near future or not. It > > seems to me that making rails threa