[Rails-core] Re: Foreign key constraints

2009-04-17 Thread Michael Schuerig
On Saturday 18 April 2009, pedz wrote: > On Apr 17, 5:10 pm, Michael Schuerig wrote: > > My general idea is to support only MySQL and PostgreSQL in the > > first iteration in case the other DBMS require special. Also, as > > there may be reservations about this feature, I think there ought > > to

[Rails-core] Re: Foreign key constraints

2009-04-17 Thread pedz
On Apr 17, 5:10 pm, Michael Schuerig wrote: > My general idea is to support only MySQL and PostgreSQL in the first > iteration in case the other DBMS require special. Also, as there may be > reservations about this feature, I think there ought to be a global > switch and an individual :check opti

[Rails-core] Re: Foreign key constraints

2009-04-17 Thread Michael Schuerig
On Friday 17 April 2009, pedz wrote: > I am also working / maintaining code that does foreign constraints, > unique keys, etc. Just wondering, does your code for uniqueness differ from unique constraints? As far as I'm aware, defining a column as unique in SQL is just a syntactic shortcut for a

[Rails-core] Re: Foreign key constraints

2009-04-17 Thread pedz
I am also working / maintaining code that does foreign constraints, unique keys, etc. I'm hoping to get it back stable after moving up to Rails 2.3.2 this weekend. I'll update this thread if I do. --~--~-~--~~~---~--~~ You received this message because you are

[Rails-core] Re: Custom Array-like object for partial

2009-04-17 Thread Mislav Marohnić
On Thu, Apr 16, 2009 at 11:26, Ryan Bates wrote: > > I am building a Rails plugin which is somewhat similar to named scopes > and therefore behaves like an array. However it isn't a subclass of > Array I see now that the current check is pretty ugly: if Array === partial_path || (defined

[Rails-core] Re: Suport Composite Primary Keys

2009-04-17 Thread Damian Janowski
On Fri, Apr 17, 2009 at 11:09 AM, amichelins wrote: > My question is : > This feature is planing to be include as part of RoR in a future > version or is discarted and it is out of the plans? Try Dr. Nic's gem: http://compositekeys.rubyforge.org Further questions should be directed to the rubyo

[Rails-core] Suport Composite Primary Keys

2009-04-17 Thread amichelins
Hi : I am new to RoR and i tring to migrate a web system from php to RoR. When i start to read the docs of active record i find that not suport is give to composite primary keys. Finding in the forums, i find a extencion that makes it posible. But each time you update the RoR it can stop work. W

[Rails-core] Re: Tests and the Rails 3 effort

2009-04-17 Thread Chad Woolley
On Fri, Apr 17, 2009 at 1:09 AM, Chad Woolley wrote: > I'd like to see the CI build kept green through these efforts: > > http://ci.rubyonrails.org/builds/rails Ah, it is green again. Nice :) -- Chad --~--~-~--~~~---~--~~ You received this message because you a

[Rails-core] Re: Tests and the Rails 3 effort

2009-04-17 Thread Chad Woolley
On Thu, Apr 16, 2009 at 9:03 AM, Yehuda Katz wrote: > 2.3 application. We're obviously not done yet (by any stretch), but if > you go through the new_base specs, I think you'll be pleased with our > thoroughness. > > I'd be happy to answer any other questions you might have. I'd like to see the