Re: [Rails-core] Unit Tests for active record fail with mysql

2006-07-23 Thread Tom Ward
On 23/07/06, Daniel N <[EMAIL PROTECTED]> wrote: Tom, Thanx for the effort to get this going. Unfortunately the diff file attached has nothing it it. Cheers Well spotted ;) Try this one. Tom fix_mysql_schema_to_work_in_strict_mode.diff Description: Binary data ___

Re: [Rails-core] Testing has_many :dependent => :restrict

2006-07-23 Thread Caio Chassot
On 2006-07-23, at 01:01 , Daniel N wrote: If I create a new record with associated records, to me that means that I need a new two new class definitions and some fixtures. Is this correct? If you can work with the existing fixtures and models, better. Otherwise create your own. raise

Re: [Rails-core] Testing has_many :dependent => :restrict

2006-07-23 Thread Daniel N
On 7/23/06, Caio Chassot <[EMAIL PROTECTED]> wrote: On 2006-07-23, at 01:01 , Daniel N wrote:>> If I create a new record with associated records, to me that means> that I need a new two new class definitions and some fixtures.  Is> this correct? If you can work with the existing fixtures and models

[Rails-core] [Tiny Patch Actionmailer] checks if content-type exists before checking main type

2006-07-23 Thread Surendra Singhi
Hello, Since the Trac is down and it is not possible to create new tickets. I am dropping off the patch here. In action-mailer while checking if a part has an attachment, the content-type's main-type is compared. But before calling main-type it has to be ensured whether content-type exists, oth

[Rails-core] [PATCH] Inflector docs minor bug fixes and extra examples

2006-07-23 Thread Peter Michaux
Hi, I can't seem to make a new ticket on trac so I've attached is a pretty simple patch for the inflector docs. I found a couple minor bugs in these docs and added a few extra examples were appropriate. I haven't figured out how to unit test docs yet. Hopefully that's ok :) Peter enhanced_inf

[Rails-core] Can't create new ticket on Trac

2006-07-23 Thread Rob West
When I try to submit a ticket using http://dev.rubyonrails.org/newticket, I get the following:Oops... Trac detected an internal error: If you think this really should work and you can reproduce it. Then you should consider to report this problem to the Trac team. Go