Re: [Rails-core] timezones in unit tests?

2006-03-14 Thread Michael Koziarski
> Hmm, now the tests fail for lack of #xmlschema. irb(main):001:0> Time.now.xmlschema NoMethodError: undefined method `xmlschema' for Wed Mar 15 20:37:38 NZDT 2006:Time from (irb):1 irb(main):002:0> require 'time' => true irb(main):003:0> Time.now.xmlschema => "2006-03-15T20:37:43+13:00"

Re: [Rails-core] issue with table aliases, from [3776]

2006-03-14 Thread John Sheets
On Mar 14, 2006, at 12:33 AM, Michael Schoen wrote: I've got a patch prepared, looking for confirmation that dropping the AS works for the supported dbs. The alternatives seem ugly. I haven't tried the patch yet, but it should work just fine with the Sybase adapter. John -- John R. Sheet

Re: [Rails-core] timezones in unit tests?

2006-03-14 Thread Michael Koziarski
worksforme. What other components do you have checked out? I must have to move something into activesupport? On 3/15/06, Michael Schoen <[EMAIL PROTECTED]> wrote: > Michael Koziarski wrote: > >> Is there an easy way to rewrite the assertion so it works for folks not > >> in the Windy City? > >

Re: [Rails-core] timezones in unit tests?

2006-03-14 Thread Michael Schoen
Michael Koziarski wrote: Is there an easy way to rewrite the assertion so it works for folks not in the Windy City? I live in another windy city, so I noticed this too. I believe this is now fixed as of [3870]. to_xml uses the xmlschema format (so timezones are included) and the test now che

Re: [Rails-core] timezones in unit tests?

2006-03-14 Thread Michael Koziarski
> Is there an easy way to rewrite the assertion so it works for folks not > in the Windy City? I live in another windy city, so I noticed this too. I believe this is now fixed as of [3870]. to_xml uses the xmlschema format (so timezones are included) and the test now checks for the string in th

Re: [Rails-core] Rev 3718 broke my Oracle

2006-03-14 Thread Rick Olson
> Thanks again for your work on Oracle support. I get a lot of mileage out of > it. Sorry for the troubles, I'll be sure to submit my patches to this list before making widespread changes like that :) -- Rick Olson http://techno-weenie.net ___ Rails-c

Re: [Rails-core] relative_url_root?

2006-03-14 Thread Nicholas Seckar
On Mar 14, 2006, at 2:06 PM, Isaac Reuben wrote:Could someone explain why relative_url_root is hardcoded to only work with apache: Because lighttpd doesn't set SCRIPT_NAME in the way we require.If you figure out a way to implement the auto-detection, create a ticket and assign me as owner.For the t

[Rails-core] relative_url_root?

2006-03-14 Thread Isaac Reuben
Hey All, Could someone explain why relative_url_root is hardcoded to only work with apache: request.rb (154:158): # Returns the path minus the web server relative installation directory. # This method returns nil unless the web server is apache. def relative_url_root @@relative_url_

[Rails-core] changes to trac, suggestions

2006-03-14 Thread Caio Chassot
These suggestions refer to the ticket form: #1 - add trunk version A lot of tickets reported against version 1.0 are actually trunk tickets. Maybe adding a trunk version would help. Also would make it easier to track down and close <=1.0 bugs that happen to be already fixed. So, either a

Re: [Rails-core] Rev 3718 broke my Oracle

2006-03-14 Thread Wilson Bilkovich
On 3/14/06, Michael Schoen <[EMAIL PROTECTED]> wrote: > Michael Schoen wrote: > > Wilson Bilkovich wrote: > >> Sorry to send another message like this, but.. > >> 3706 works, 3718 fails. > >> Looks like the migration process is a little odd after that point. > > > > I'll take a look. > > Fixed as p

Re: [Rails-core] Plugins and testing

2006-03-14 Thread Rick Olson
On 14 Mar 2006 15:16:55 -, Kevin Olbrich <[EMAIL PROTECTED]> wrote: > I'd just like to clarify the load behavior of plugins before I go > opening new tickets. > > I developed a couple of plugins that add some functionality to > activerecord, however, when I run unit tests (and the console for t

[Rails-core] Plugins and testing

2006-03-14 Thread Kevin Olbrich
I'd just like to clarify the load behavior of plugins before I go opening new tickets. I developed a couple of plugins that add some functionality to activerecord, however, when I run unit tests (and the console for that matter), the plugin does not appear to load. None of the additional

[Rails-core] Sybase support

2006-03-14 Thread Keegan Quinn
On Sat, Mar 04, 2006 at 04:12:53PM -0600, John Sheets wrote: > On Mar 4, 2006, at 3:58 PM, Keegan Quinn wrote: > >On Wed, Mar 01, 2006 at 10:35:14PM -0600, John Sheets wrote: > >>I don't personally have the resources to set up an automated system > >>with access to a Sybase database, but I'll certa

Re: [Rails-core] issue with table aliases, from [3776]

2006-03-14 Thread Jonathan Viney
Fine with mysql 5.0-Jonathan. ___ Rails-core mailing list Rails-core@lists.rubyonrails.org http://lists.rubyonrails.org/mailman/listinfo/rails-core

Re: [Rails-core] Rev 3718 broke my Oracle

2006-03-14 Thread Michael Schoen
Michael Schoen wrote: Wilson Bilkovich wrote: Sorry to send another message like this, but.. 3706 works, 3718 fails. Looks like the migration process is a little odd after that point. I'll take a look. Fixed as part of http://dev.rubyonrails.org/ticket/4230 ___

Re: [Rails-core] issue with table aliases, from [3776]

2006-03-14 Thread Michael Schoen
Jakob Skjerning wrote: Does the latter also work ok for MySQL, etc? I can confirm it works for mysql 4.1 and postgres, 8.1 and appears fine on sqlite 2. I can confirm it works for SQL Server 2000 as well. Thanks. Patch submitted as: http://dev.rubyonrails.org/ticket/4231 Also sub