Re: [Rails-core] Re: redirect_to enhancements

2006-01-09 Thread David Heinemeier Hansson
for it. -- David Heinemeier Hansson http://www.loudthinking.com -- Broadcasting Brain http://www.basecamphq.com -- Online project management http://www.backpackit.com -- Personal information manager http://www.rubyonrails.com -- Web-application framework ___ Rails

Re: [Rails-core] Re: spinner/spawner: is it really necessary to load the Rails environment?

2006-01-09 Thread David Heinemeier Hansson
in railties/lib/commands/process. That's true. How much memory did you find the spinner to take, Andreas? I believe the Ruby baseline is something like 3.7MB, if I remember correctly. -- David Heinemeier Hansson http://www.loudthinking.com -- Broadcasting Brain http://www.basecamphq.com -- Online

Re: [Rails-core] Re: spinner/spawner: is it really necessary to load the Rails environment?

2006-01-09 Thread David Heinemeier Hansson
Heinemeier Hansson http://www.loudthinking.com -- Broadcasting Brain http://www.basecamphq.com -- Online project management http://www.backpackit.com -- Personal information manager http://www.rubyonrails.com -- Web-application framework ___ Rails-core

Re: [Rails-core] The state of the Wiki

2006-01-20 Thread David Heinemeier Hansson
Clearing out on IP is actually pretty straight forward from the console. I just removed all from 82.131.14.155. Let's keep this as somewhat of a permathread for now. Whenever you spot spam from a certain IP, we can clear that out and block the IP. -- David Heinemeier Hansson http

Re: [Rails-core] How should we do away with the rubysess white page of death?

2006-01-26 Thread David Heinemeier Hansson
that its easier to have two instances of the same application running on the same machine. Something app-name based options won't help with. Also, please someone do investigate #3474. I'd really like to declare a death to white screens in 1.1. -- David Heinemeier Hansson http://www.loudthinking.com

[Rails-core] Be a hero: Convert Active Record fixtures to schema.rb

2006-02-09 Thread David Heinemeier Hansson
Heinemeier Hansson http://www.loudthinking.com -- Broadcasting Brain http://www.basecamphq.com -- Online project management http://www.backpackit.com -- Personal information manager http://www.rubyonrails.com -- Web-application framework ___ Rails

Re: [Rails-core] anyone in a committing mood?

2006-02-10 Thread David Heinemeier Hansson
started on making one? Have a look at the source in http://dev.rubyonrails.org/browser/plugins, a bunch of examples there. -- David Heinemeier Hansson http://www.loudthinking.com -- Broadcasting Brain http://www.basecamphq.com -- Online project management http://www.backpackit.com -- Personal

Re: [Rails-core] Flash data with lastest commit

2006-02-12 Thread David Heinemeier Hansson
Looks like the flash lost its reset mojo with the commits last night. Its staying persistent now. Fixed. Thanks for reporting. -- David Heinemeier Hansson http://www.loudthinking.com -- Broadcasting Brain http://www.basecamphq.com -- Online project management http://www.backpackit.com

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

2006-02-14 Thread David Heinemeier Hansson
out disruptive changes like that to see if it fits. And considering the scale of such a change, there would be no way any of these ideas would make it in anyway before proving themselves as a widely used and cherished plugin. So do get programming. -- David Heinemeier Hansson http

[Rails-core] Namespaced actions in Rails 1.1?

2006-02-26 Thread David Heinemeier Hansson
release changed all the tasks over to be namespaced? Who and want would break? I'm coming up short with ideas on where it would be a problem, but I'd like to hear if others have some dependencies on the specific rake names. -- David Heinemeier Hansson http://www.loudthinking.com -- Broadcasting Brain http

Re: [Rails-core] Rails 1.1 is coming

2006-02-26 Thread David Heinemeier Hansson
we had two adapters. I think a rename with stubs would be good. Do patch. -- David Heinemeier Hansson http://www.loudthinking.com -- Broadcasting Brain http://www.basecamphq.com -- Online project management http://www.backpackit.com -- Personal information manager http://www.rubyonrails.com

Re: [Rails-core] Rails 1.1 is coming

2006-03-01 Thread David Heinemeier Hansson
Supports use as either oci or oracle. Applied. -- David Heinemeier Hansson http://www.loudthinking.com -- Broadcasting Brain http://www.basecamphq.com -- Online project management http://www.backpackit.com -- Personal information manager http://www.rubyonrails.com -- Web-application

Re: [Rails-core] New version of AWS aggregated patch

2006-03-01 Thread David Heinemeier Hansson
that this works? Perhaps others in need of AWS could help? -- David Heinemeier Hansson http://www.loudthinking.com -- Broadcasting Brain http://www.basecamphq.com -- Online project management http://www.backpackit.com -- Personal information manager http://www.rubyonrails.com -- Web-application

Re: [Rails-core] rake clear_logs backwards-compatibility problem

2006-03-01 Thread David Heinemeier Hansson
Works against rev 3706. Looks like it was broken in 3713. Thanks, fixed. -- David Heinemeier Hansson http://www.loudthinking.com -- Broadcasting Brain http://www.basecamphq.com -- Online project management http://www.backpackit.com -- Personal information manager http://www.rubyonrails.com

[Rails-core] Applied the cascading eager loading patch

2006-03-04 Thread David Heinemeier Hansson
. -- David Heinemeier Hansson http://www.loudthinking.com -- Broadcasting Brain http://www.basecamphq.com -- Online project management http://www.backpackit.com -- Personal information manager http://www.rubyonrails.com -- Web-application framework

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

2006-03-04 Thread David Heinemeier Hansson
generators _do_ have to create migrations, they should really be called 'create_tablename', not 'add_tablename', just to be consistent.) Agree, I'll rename. -- David Heinemeier Hansson http://www.loudthinking.com -- Broadcasting Brain http://www.basecamphq.com -- Online project management http

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

2006-03-04 Thread David Heinemeier Hansson
, it is kinda neat to have that, but the pain is not worth it. This affects page 98 of the book, but that should probably be rewritten using form_for instead anyway. And it also doesn't break any existing applications. It's just a new behavior for new runs of that generator. -- David Heinemeier Hansson http

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

2006-03-04 Thread David Heinemeier Hansson
embeds the opinion that developing your application model-by-model is preferable over chunk-by-chunk, but still allows you to do the latter at the cost of configuration. -- David Heinemeier Hansson http://www.loudthinking.com -- Broadcasting Brain http://www.basecamphq.com -- Online project

Re: [Rails-core] Continuous Integration Automater

2006-03-10 Thread David Heinemeier Hansson
Heinemeier Hansson http://www.loudthinking.com -- Broadcasting Brain http://www.basecamphq.com -- Online project management http://www.backpackit.com -- Personal information manager http://www.rubyonrails.com -- Web-application framework ___ Rails

Re: [Rails-core] on the new respond_to thing

2006-03-16 Thread David Heinemeier Hansson
no custom code needed for each type. Please expand on this. How would this look? Often times you don't have an js option for something, so if we just expect you to an error would occur. Instead of now, where we just do a 406. -- David Heinemeier Hansson http://www.loudthinking.com -- Broadcasting

Re: [Rails-core] on the new respond_to thing

2006-03-17 Thread David Heinemeier Hansson
else on this? -- David Heinemeier Hansson http://www.loudthinking.com -- Broadcasting Brain http://www.basecamphq.com -- Online project management http://www.backpackit.com -- Personal information manager http://www.rubyonrails.com -- Web-application framework

Re: [Rails-core] on the new respond_to thing

2006-03-17 Thread David Heinemeier Hansson
whether its worth it. And I'd like to keep all this Accept-header munging restricted to the respond_to call for Rails 1.1. We may well desire this for Rails 1.2, but let's skip it for now. -- David Heinemeier Hansson http://www.loudthinking.com -- Broadcasting Brain http://www.basecamphq.com

Re: [Rails-core] comment on new :select support for with_scope

2006-03-26 Thread David Heinemeier Hansson
want to scope-in :includes? -- David Heinemeier Hansson http://www.loudthinking.com -- Broadcasting Brain http://www.basecamphq.com -- Online project management http://www.backpackit.com -- Personal information manager http://www.rubyonrails.com -- Web-application framework

Re: [Rails-core] please apply patch to fix ActiveRecord

2006-03-29 Thread David Heinemeier Hansson
. There's a Prototype issue that definitely also presses to warrant a release. This is a good reason why it would be awesome to setup automated testing for all the db adapters. -- David Heinemeier Hansson http://www.loudthinking.com -- Broadcasting Brain http://www.basecamphq.com -- Online project

Re: [Rails-core] please apply patch to fix ActiveRecord

2006-03-30 Thread David Heinemeier Hansson
explicitly for the purpose of having reporters ping that. Though that wouldn't have helped in this case, since the doc cleanup that broke it was done just before the 1.1 release. If I had known that an automated system existed, I would have waited for that. -- David Heinemeier Hansson http

Re: [Rails-core] please apply patch to fix ActiveRecord

2006-03-30 Thread David Heinemeier Hansson
You could have another list with a Reply-To this list and when the build breaks, additionally cc the committer that broke the build. I'd love to see that happen. Please Do Investigate. -- David Heinemeier Hansson http://www.loudthinking.com -- Broadcasting Brain http://www.basecamphq.com

Re: [Rails-core] please apply patch to fix ActiveRecord

2006-04-04 Thread David Heinemeier Hansson
I'm about set to automate the Oracle unit tests, but need to get the green light lit first. Just submitted a patch to clean up the few remaining issues... http://dev.rubyonrails.org/ticket/4573 Applied. -- David Heinemeier Hansson http://www.loudthinking.com -- Broadcasting Brain

Re: [Rails-core] please apply patch to fix ActiveRecord

2006-04-04 Thread David Heinemeier Hansson
for it. Thanks for doing this! Now someone working with MS SQL, DB2, and all the other non-oss adapters please follow suit ;) -- David Heinemeier Hansson http://www.loudthinking.com -- Broadcasting Brain http://www.basecamphq.com -- Online project management http://www.backpackit.com -- Personal

Re: [Rails-core] [Fwd: Rails AR/Oracle Unit Test: [4185] failed]

2006-04-06 Thread David Heinemeier Hansson
. We can't fix something that's already out there. But I'll post beta gems now, so at least you can get to this fix easily. And it'll be in stable too. In any case, this fix is only for calculations that use limit/offset, right? Not really a big ticket problem. -- David Heinemeier Hansson http

Re: [Rails-core] Diff functionality with upgrades

2006-04-10 Thread David Heinemeier Hansson
to spend time automating upgrades from 0.13.x. If you're still on that version, you'll have to do it manually. And then cherish the fact that you won't have to do it again. -- David Heinemeier Hansson http://www.loudthinking.com -- Broadcasting Brain http://www.basecamphq.com -- Online project

Re: [Rails-core] Diff functionality with upgrades

2006-04-10 Thread David Heinemeier Hansson
supposed to edit. So I don't really see a use for this. -- David Heinemeier Hansson http://www.loudthinking.com -- Broadcasting Brain http://www.basecamphq.com -- Online project management http://www.backpackit.com -- Personal information manager http://www.rubyonrails.com -- Web-application

Re: [Rails-core] New version of AWS aggregated patch

2006-04-17 Thread David Heinemeier Hansson
Keep on having fun, folks :) Thanks a lot for all your work on this, Leon. I know that there are many people who are very grateful for AWS. You're welcome back any time! -- David Heinemeier Hansson http://www.loudthinking.com -- Broadcasting Brain http://www.basecamphq.com -- Online project

Re: [Rails-core] :id handling in render_component

2006-04-17 Thread David Heinemeier Hansson
let's document that :id should not be named in params, but on its own. -- David Heinemeier Hansson http://www.loudthinking.com -- Broadcasting Brain http://www.basecamphq.com -- Online project management http://www.backpackit.com -- Personal information manager http://www.rubyonrails.com -- Web

Re: [Rails-core] Ticket #4732 - Prevent ActiveRecord from requiring Transaction::Simple if already loaded

2006-04-17 Thread David Heinemeier Hansson
This patch at least prevents warnings when Transaction::Simple is loaded a second time. I wonder what breakage would ensue if the API of TS changes? In any case, this is probably fine as a lesser evil. Until 2.0 where TS is yanked out from core. -- David Heinemeier Hansson http

Re: [Rails-core] Armageddon?

2006-04-22 Thread David Heinemeier Hansson
Client A opens a socket to the Socket Server? Real sockets? Or a persistent HTTP connection? Real sockets. That's why its using Flash. -- David Heinemeier Hansson http://www.loudthinking.com -- Broadcasting Brain http://www.basecamphq.com -- Online project management http://www.backpackit.com

Re: [Rails-core] Armageddon?

2006-04-22 Thread David Heinemeier Hansson
on a shared resource. -- David Heinemeier Hansson http://www.loudthinking.com -- Broadcasting Brain http://www.basecamphq.com -- Online project management http://www.backpackit.com -- Personal information manager http://www.rubyonrails.com -- Web-application framework

Re: [Rails-core] model method for session restore problem

2006-04-25 Thread David Heinemeier Hansson
the regular Rails mailing list for questions like this in the future. This list is reserved for discussing the development of Rails, not its usage. Thanks. -- David Heinemeier Hansson http://www.loudthinking.com -- Broadcasting Brain http://www.basecamphq.com -- Online project management http

Re: [Rails-core] ganging up on tests and docs

2006-04-26 Thread David Heinemeier Hansson
for better documentation or gather up a team to work on it. -- David Heinemeier Hansson http://www.loudthinking.com -- Broadcasting Brain http://www.basecamphq.com -- Online project management http://www.backpackit.com -- Personal information manager http://www.rubyonrails.com -- Web

Re: [Rails-core] Filtering with ActiveRecord

2006-05-21 Thread David Heinemeier Hansson
sympathetic to a patch that allowed for hash definitions of :conditions, though. But I don't buy :created_on_less_than or other ways of dealing with something else than equality through naming conventions. If you need that kind of thing, use the strings. -- David Heinemeier Hansson http

Re: [Rails-core] Patch 5091

2006-05-21 Thread David Heinemeier Hansson
I've noticed some posts to rails-core notifying the world of patches, since there's been no activity on said patch I thought I'd do the same. Please let me know if this breaks protocol. Great first patch. Applied. -- David Heinemeier Hansson http://www.loudthinking.com -- Broadcasting Brain

Re: [Rails-core] habtm build and create

2006-05-24 Thread David Heinemeier Hansson
. They should indeed work. I think its just an omission born from the fact that you rarely do it this way. But it would be great to be able to. Please do make it work. Thanks! -- David Heinemeier Hansson http://www.loudthinking.com -- Broadcasting Brain http://www.basecamphq.com -- Online project

Re: [Rails-core] Current process for tickets

2006-06-01 Thread David Heinemeier Hansson
style conventions, be backwards compatible, and hopefully something that has meaning for most people most of the time. But all of these rules go out the window some times, if there's a stroke of genius found in the submission. -- David Heinemeier Hansson http://www.loudthinking.com -- Broadcasting Brain

Re: [Rails-core] real bind variables

2006-06-01 Thread David Heinemeier Hansson
Still looking for a few nods of approval from the core team before I dig into this. I'm happy to see work go into this. Real bind variables would be nice indeed. Applying the patch will, as ever, depend on the specific implementation, of course. But it's a worthy pursuit! -- David Heinemeier

Re: [Rails-core] 22-30% faster and added to_xml functionality

2006-06-04 Thread David Heinemeier Hansson
for base.rb anyway, so now it all sits in xml_serialization.rb and is mixed in. -- David Heinemeier Hansson http://www.loudthinking.com -- Broadcasting Brain http://www.basecamphq.com -- Online project management http://www.backpackit.com -- Personal information manager http://www.rubyonrails.com

Re: [Rails-core] migrations unit test and sqlite3 add_column

2006-06-04 Thread David Heinemeier Hansson
responsible for these adapters will either make a patch of their own or raise the issue here. I really like the idea of migrations and would love to see the stability of them improved. Excellent. Please do keep working. Your patch was applied, btw. -- David Heinemeier Hansson http://www.loudthinking.com

Re: [Rails-core] [PATCH] Quick RailTies fix

2006-07-04 Thread David Heinemeier Hansson
Would someone with commit access mind looking at this? Applied. -- David Heinemeier Hansson http://www.loudthinking.com -- Broadcasting Brain http://www.basecamphq.com -- Online project management http://www.backpackit.com -- Personal information manager http://www.rubyonrails.com -- Web

Re: Re: Re: [Rails-core] [patch] ruby 1.8.5 warnings

2006-07-31 Thread David Heinemeier Hansson
. Not using the same style everywhere is not necessary a bug. -- David Heinemeier Hansson http://www.loudthinking.com -- Broadcasting Brain http://www.basecamphq.com -- Online project management http://www.backpackit.com -- Personal information manager http://www.rubyonrails.com -- Web-application

Re: Re: [Rails-core] bug in new map.resources

2006-07-31 Thread David Heinemeier Hansson
app where they feel like a good fit? I'm starting to think that explicitly ignoring them with map.resources is a feature. -- David Heinemeier Hansson http://www.loudthinking.com -- Broadcasting Brain http://www.basecamphq.com -- Online project management http://www.backpackit.com -- Personal

Re: [Rails-core] Re: ruby 1.8.5 warnings

2006-07-31 Thread David Heinemeier Hansson
at different times depending on the context. -- David Heinemeier Hansson http://www.loudthinking.com -- Broadcasting Brain http://www.basecamphq.com -- Online project management http://www.backpackit.com -- Personal information manager http://www.rubyonrails.com -- Web-application framework

Re: Re: [Rails-core] bug in new map.resources

2006-07-31 Thread David Heinemeier Hansson
probably not being as RESTful as you could be. -- David Heinemeier Hansson http://www.loudthinking.com -- Broadcasting Brain http://www.basecamphq.com -- Online project management http://www.backpackit.com -- Personal information manager http://www.rubyonrails.com -- Web-application framework

Re: Re: [Rails-core] [PATCH] Giving acts_as_nested_set some love and moving nodes around in a tree

2006-08-02 Thread David Heinemeier Hansson
), pagination, and possibly acts_as_list/acts_as_tree. -- David Heinemeier Hansson http://www.loudthinking.com -- Broadcasting Brain http://www.basecamphq.com -- Online project management http://www.backpackit.com -- Personal information manager http://www.rubyonrails.com -- Web-application

Re: [Rails-core] has_one association caching

2006-08-04 Thread David Heinemeier Hansson
Heinemeier Hansson http://www.loudthinking.com -- Broadcasting Brain http://www.basecamphq.com -- Online project management http://www.backpackit.com -- Personal information manager http://www.rubyonrails.com -- Web-application framework ___ Rails

Re: [Rails-core] map.resource with nested controllers

2006-08-05 Thread David Heinemeier Hansson
it work ;) -- David Heinemeier Hansson http://www.loudthinking.com -- Broadcasting Brain http://www.basecamphq.com -- Online project management http://www.backpackit.com -- Personal information manager http://www.rubyonrails.com -- Web-application framework

[Rails-core] [ANN] Rails 1.1.6: Stronger fix, backports, and full disclosure

2006-08-10 Thread David Heinemeier Hansson
sure you update RAILS_GEM_VERSION in your config/environment.rb. Otherwise you'll still be bound to that earlier version of Rails even as you install the new gems. We continue to update http://weblog.rubyonrails.org/ with the latest information as it becomes available. -- David Heinemeier Hansson

Re: [Rails-core] [ann] Super DRY models - Auto-associations and validations

2006-08-14 Thread David Heinemeier Hansson
. But again, please do keep pushing on with this. Just because its not a good fit for core, doesn't mean it ain't cool. Rock on. -- David Heinemeier Hansson http://www.loudthinking.com -- Broadcasting Brain http://www.basecamphq.com -- Online project management http://www.backpackit.com

Re: Re: [Rails-core] [ann] Super DRY models - Auto-associations and validations

2006-08-15 Thread David Heinemeier Hansson
is that opinions go into core and options go into plugins. -- David Heinemeier Hansson http://www.loudthinking.com -- Broadcasting Brain http://www.basecamphq.com -- Online project management http://www.backpackit.com -- Personal information manager http://www.rubyonrails.com -- Web-application

Re: [Rails-core] test::unit namespace pollution

2006-08-15 Thread David Heinemeier Hansson
I propose that rails' test class inherits from, rather than extends, Text::Unit::TestCase. Opinions? That's been a long-standing desire. Especially also to clean up the cruft in functional test controllers. -- David Heinemeier Hansson http://www.loudthinking.com -- Broadcasting Brain http