Re: [Rails-core] Filtering with ActiveRecord

2006-05-14 Thread Hampton
Tom,I like what you've done with fixing conditions on the regular find. But, I still like being able to find similar with existing model objects and etc. So, I've extended your code with what I was doing in my code (aka, Razor) but used the really solid foundation you wrote with slice. I think putt

[Rails-core] [UPDATE] Mongrel 0.3.13 Pre-Release -- Conditional Responses, Better Parsing

2006-05-14 Thread Zed Shaw
Hi Folks, As you can tell we're getting closer to the 0.3.13 release being official. There's a new pre-release available for non-win32 users: gem install mongrel --source=http://mongrel.rubyforge.org/releases/ Which has the following fixes and enhancements: * Rewritten internal HTTP process

Re: [Rails-core] Rails AR/Oracle Unit Test: [4340] failed

2006-05-14 Thread Marcel Molina Jr.
On Sun, May 14, 2006 at 11:41:43AM -0700, Michael Schoen wrote: > "marcel" made AR/Oracle cry... > > http://dev.rubyonrails.org/changeset/4340 > > r4340 | marcel | 2006-05-14 11:37:22 -0700 (Sun, 14 May 2006) | 1 line > > Pr

[Rails-core] Rails AR/Oracle Unit Test: [4340] failed

2006-05-14 Thread Michael Schoen
"marcel" made AR/Oracle cry... http://dev.rubyonrails.org/changeset/4340 r4340 | marcel | 2006-05-14 11:37:22 -0700 (Sun, 14 May 2006) | 1 line Preserve MySQL boolean column defaults when changing a column in a migration. C

Re: [Rails-core] Filtering with ActiveRecord

2006-05-14 Thread Tom Ward
On 5/13/06, Hampton <[EMAIL PROTECTED]> wrote: Let's say you have params[:student] = { :last_name = "Catlin" }. And, anything could have been passed in. Maybe a bunch of different attributes, and we'd like to filter based on that. Student.find_with (params[:student]) ...which really works as..