Re: [Rails-core] Pure-ruby adapters and future of JDBC adapter

2006-06-30 Thread Nick Sieger
On 6/30/06, Charles O Nutter <[EMAIL PROTECTED]> wrote: FYI, once we're further along we'll probably be lobbying the Rails team to include the JDBC adapter in core :)A related issue here is that it's not easy to package a new ActiveRecord adapter as a plugin AFAICT, since Rails::Initializer sets u

[Rails-core] Pure-ruby adapters and future of JDBC adapter

2006-06-30 Thread Charles O Nutter
I know there are pure-ruby adapters for various databases in Rails, maybe even for all supported databases. We're working to get Rails running well under JRuby, and since we obviously can't use C extensions I would like to know where I can find pure-ruby adapters to play with. We also, naturally, h

Re: [Rails-core] Using file extensions to override respond_to behavior

2006-06-30 Thread Dan Webb
Actually, I've just realised it is in edge. You just need to add a route with :format in it. On 6/30/06, Dan Webb <[EMAIL PROTECTED]> wrote: Ah, so it's implemented in simply restful...that makes sense. Cheers, Dan On 6/30/06, Tim Lucas <[EMAIL PROTECTED]> wrote: > On 30/06/2006, at 8:52 PM,

Re: [Rails-core] Using file extensions to override respond_to behavior

2006-06-30 Thread Dan Webb
Ah, so it's implemented in simply restful...that makes sense. Cheers, Dan On 6/30/06, Tim Lucas <[EMAIL PROTECTED]> wrote: On 30/06/2006, at 8:52 PM, Dan Webb wrote: > In DHH keynote he mentioned that routes where going to be adjusted so > that adding a file extension to a URL will override r

Re: [Rails-core] Using file extensions to override respond_to behavior

2006-06-30 Thread Tim Lucas
On 30/06/2006, at 8:52 PM, Dan Webb wrote: In DHH keynote he mentioned that routes where going to be adjusted so that adding a file extension to a URL will override respond_to so that controller/action/thing.xml would automatically trigger the xml part of a respond_to in an action reguardless

Re: [Rails-core] Using file extensions to override respond_to behavior

2006-06-30 Thread Mislav Marohnić
Seems like a good feature. I would definately like to see this. There isn't anything in trunk of this at the time of writing... that could mean that writing this hasn't been started yet. It doesn't seem hard to implement, though - you could hack the router to change the "accept" header in the reque

[Rails-core] Using file extensions to override respond_to behavior

2006-06-30 Thread Dan Webb
Hi All, In DHH keynote he mentioned that routes where going to be adjusted so that adding a file extension to a URL will override respond_to so that controller/action/thing.xml would automatically trigger the xml part of a respond_to in an action reguardless of what the accepts header says. Do

Re: [Rails-core] Understanding Active Records innards

2006-06-30 Thread Mislav Marohnić
I totally agree. That is how I started and learned much. From ActiveRecord::Base you can dig deeper into associations and anything else that interests you.Me, I learned the most when I tried to patch the odd behaviour of STI. I didn't quite had much success at the time, but I learned much and event