Re: [Rails-core] rake test_mysql on trunk gives 6 failures and 1 error

2005-12-13 Thread David Heinemeier Hansson
> Thanks for the sanity check, Jeremy - I'll have to investigate further. I've seen the problem too. Then I ran aaa_create_tables.rb by hand, then it all passed. Please do investigate and see if you can make it work the first time without this manual step. Thanks! -- David Heinemeier Hansson http:

Re: [Rails-core] config.frameworks

2005-12-13 Thread Kent Sibilev
Yes, you are right. Sorry for the noise. Kent. On Tuesday 13 December 2005 14:51, Sam Stephenson wrote: > Kent, > > Only version.rb is required for each framework. See > Rails::Info#component_version (railties/lib/rails_info.rb, line 28). > > -- > sam > _

Re: [Rails-core] rake test_mysql on trunk gives 6 failures and 1 error

2005-12-13 Thread Ben Anderson
Thanks for the sanity check, Jeremy - I'll have to investigate further. On 12/13/05, Jeremy Hopple <[EMAIL PROTECTED]> wrote: > I have 0 failures and 0 errors with MySQL on trunk. > > On 12/13/05, Ben Anderson <[EMAIL PROTECTED]> wrote: > > hi, > > Spent a few minutes on the irc... lots of discuss

Re: [Rails-core] rake test_mysql on trunk gives 6 failures and 1 error

2005-12-13 Thread Jeremy Hopple
I have 0 failures and 0 errors with MySQL on trunk. On 12/13/05, Ben Anderson <[EMAIL PROTECTED]> wrote: > hi, > Spent a few minutes on the irc... lots of discussion there - is there > a dev irc? Anyways, here's what I was asking: > > Is anyone else having the problems I put in the subject. I'm

[Rails-core] rake test_mysql on trunk gives 6 failures and 1 error

2005-12-13 Thread Ben Anderson
hi, Spent a few minutes on the irc... lots of discussion there - is there a dev irc? Anyways, here's what I was asking: Is anyone else having the problems I put in the subject. I'm thinking about switching to a more stable version of rails (assuming I don't have something screwed up). Would thi

[Rails-core] old readme in 1.0 zipped download?

2005-12-13 Thread Francois Paul
from the readme in the root of the zipped rails1.0 download: i guess the "Congratulations, you've put Ruby on Rails!" should be changed to something like: " Welcome aboard You’re riding the Rails! " " == Getting started 1. Run the WEBrick servlet: ruby script/server (run with --help for op

Re: [Rails-core] On Rails-0.14.4 as 1.0, good, except for Oracle speed

2005-12-13 Thread Rick Bradley
* Michael Schoen ([EMAIL PROTECTED]) [051212 14:15]: > Can you try modifying oci_adapter.rb, and change OCIAdapter#active? to > use @connection.active? instead of @connection.ping. The > OCI8AutoRecover#active? method doesn't hit the db at all, it just > returns the last known state. This will b

Re: [Rails-core] So the Big 1.0 is go?!

2005-12-13 Thread Francois Paul
Yeah that is how I had to find out! here i was anciously awaiting some anouncement on any of the ruby related list, but NO, i had to find out from the website... (I do very much like the new website layout though) thanks David and all the other core guys for making 1.0 happen - i'm looking fo

Re: [Rails-core] So the Big 1.0 is go?!

2005-12-13 Thread Ed C.
Looks very nice! and .. very 37Signals ;) On 12/13/05, Michael Koziarski <[EMAIL PROTECTED]> wrote: On 12/14/05, Francois Paul <[EMAIL PROTECTED]> wrote: > seams Rails 0.1.0 has been released? I was expecting a big todo? did i> miss a release anouncement or something?We have  a new webpage,  is tha

Re: [Rails-core] So the Big 1.0 is go?!

2005-12-13 Thread Michael Koziarski
On 12/14/05, Francois Paul <[EMAIL PROTECTED]> wrote: > seams Rails 0.1.0 has been released? I was expecting a big todo? did i > miss a release anouncement or something? We have a new webpage, is that enough? ;) http://www.rubyonrails.com/ -- Cheers Koz ___

[Rails-core] So the Big 1.0 is go?!

2005-12-13 Thread Francois Paul
seams Rails 0.1.0 has been released? I was expecting a big todo? did i miss a release anouncement or something? ___ Rails-core mailing list Rails-core@lists.rubyonrails.org http://lists.rubyonrails.org/mailman/listinfo/rails-core

[Rails-core] what on earth is happening here

2005-12-13 Thread Ara.T.Howard
there is some seriously black art happening here: i added the following code to callbacks.rb def self.append_features(base) #:nodoc: super $i ||= 0 p $i p caller.last $i += 1 ... ... ... and then fired up ./script/console. this is what it prints: harp:~/ror/bu

Re: [Rails-core] config.frameworks

2005-12-13 Thread Sam Stephenson
Kent, On 12/13/05, Kent Sibilev <[EMAIL PROTECTED]> wrote: > Jeremy, > > I won't help. The thing is that Rails::Initializer requires ruby_info.rb. > ruby_info.rb is written in a way that as soon as you require it, it will load > all frameworks. So even by not using gems at all, this config paramet

Re: [Rails-core] config.frameworks

2005-12-13 Thread Kent Sibilev
Jeremy, I won't help. The thing is that Rails::Initializer requires ruby_info.rb. ruby_info.rb is written in a way that as soon as you require it, it will load all frameworks. So even by not using gems at all, this config parameter still doesn't work as advertised. Kent. On Tuesday 13 Decemb

Re: [Rails-core] rails breaking with ruby rc 1.8.4

2005-12-13 Thread Ara.T.Howard
On Tue, 13 Dec 2005, Jeremy Kemper wrote: I'd like a Module#wrap_method in Active Support to DRY up the repetitive, error-prone aliasing and give us a single place to more thoroughly check for double-wrapping. [EMAIL PROTECTED] ~]$ cat a.rb require "tsort" class TSortHash < ::Hash

Re: [Rails-core] rails breaking with ruby rc 1.8.4

2005-12-13 Thread Jeremy Kemper
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Dec 13, 2005, at 9:39 AM, Ara.T.Howard wrote: this kind of thing exists in other places in the code as well. here are summaries of the two stack traces when this code is loaded: [...] yikes. basically what is happening is that Callbacks gets

Re: [Rails-core] rails breaking with ruby rc 1.8.4

2005-12-13 Thread Ara.T.Howard
On Tue, 13 Dec 2005, Jeremy Kemper wrote: I'd like a Module#wrap_method in Active Support to DRY up the repetitive, error-prone aliasing and give us a single place to more thoroughly check for double-wrapping. sounds easy(ish) - i think you could setup a dependancy graph using a hash full of

Re: [Rails-core] rails breaking with ruby rc 1.8.4

2005-12-13 Thread Rick Bradley
* Ara.T.Howard ([EMAIL PROTECTED]) [051213 12:45]: > now, why this seems to be platform dependant i do not understand yet - > but the combination of autoloading hooks, require overrides, and > non-protected (unless defined?...) class defs and method aliases seem > fragile. The only thought I have

Re: [Rails-core] Defaults and alternate paths for view files

2005-12-13 Thread Kyle Maxwell
My thoughts for implementation are something like this (I guess it only covers the before case, but it should communicate the idea): module ActionView class Base alias_method :old_render_file, :render_file def render_file(template_path, use_full_path = true, local_assigns = {}) if

Re: [Rails-core] config.frameworks

2005-12-13 Thread Jeremy Kemper
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Dec 12, 2005, at 11:21 PM, Kent Sibilev wrote: Can I ask you guys what is the point of having config.frameworks in environment.rb? According to the comment before this config parameter, it is there so you can specify which frameworks you don't w

Re: [Rails-core] rails breaking with ruby rc 1.8.4

2005-12-13 Thread Ara.T.Howard
On Tue, 13 Dec 2005, Ara.T.Howard wrote: i added some code to see how callbacks.rb was getting loaded and see that it's gettting loaded twice. if you read the code and the way is uses alias_method you will see that it is __very__ bad for this code the get loaded twice as it sets up a recursiv

Re: [Rails-core] Defaults and alternate paths for view files

2005-12-13 Thread Duane Johnson
On Dec 12, 2005, at 5:01 PM, Kyle Maxwell wrote: Sounds pretty reasonable to me. Couple thoughts: I know that the Globalize plugin uses template.en-US.rhtml, template.es-MX.rhtml, etc. To me this is preferable to en-US/template.rhtml. That would lead to a lot of extra folders lying about.