Re: [Rails-core] oracle boolean support

2006-05-21 Thread Michael A. Schoen
Michael A. Schoen wrote: Corey Donohoe wrote: *POKE* Any chance of getting this applied to trunk? Michael have you had the chance to look over this or do you see any reason to keep this from going in? I'm in the process of combining this patch with another fix. Should have it posted tonig

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

2006-05-21 Thread Michael A. Schoen
Marcel Molina Jr. wrote: 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

[Rails-core] Rails AR/Oracle Unit Test: [4351] passed (fixed)

2006-05-21 Thread Michael Schoen
"marcel" made AR/Oracle happy again, thank you! http://dev.rubyonrails.org/changeset/4351 r4351 | marcel | 2006-05-21 08:13:28 -0700 (Sun, 21 May 2006) | 1 line Fix Oracle boolean support and tests. Closes #5139. [EMAIL PROT

[Rails-core] Rails wiki needs to by by resgistration only

2006-05-21 Thread Peter Michaux
Hi, The Rails wiki is constantly being attacked. The main page needs to be rolled back almost every time I visit. Can the wiki be made to work with registered users only? Perhaps with an obscured visual key you must type to register? Thanks, Peter ___

Re: [Rails-core] Filtering with ActiveRecord

2006-05-21 Thread David Heinemeier Hansson
User.find(:all, :conditions => { :last_name => "Catlin", :created_on_less_than => Time.now} ) #yours Though, I added this "shortcut". User.find_with(params[:user]) I don't think its worth adding new syntax to core to go from User.find(:all, :conditions => params[:user]) to User.find_with(param

Re: [Rails-core] Rails wiki needs to by by resgistration only

2006-05-21 Thread Matt Pelletier
Trotter Cashion (and myself) wrote a CAPTCHA based on Cairo/rcairo. Jamis' CAPTCHA gem was our first choice, but its gd dependency made it all but impossible to install on OSX and RHEL. After we reached a point of compile/install frustration only enjoyed by native hex speakers, Zed suggested we us

Re: [Rails-core] Patch 5091

2006-05-21 Thread David Heinemeier Hansson
I've noticed some posts to rails-core notifying the world of patches, since there's been no activity on said patch I thought I'd do the same. Please let me know if this breaks protocol. Great first patch. Applied. -- David Heinemeier Hansson http://www.loudthinking.com -- Broadcasting Brain htt

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

2006-05-21 Thread Michael Schoen
"david" made AR/Oracle cry... http://dev.rubyonrails.org/changeset/4354 r4354 | david | 2006-05-21 12:17:37 -0700 (Sun, 21 May 2006) | 1 line Fixed that has_many collections shouldn't load the entire association to do build

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

2006-05-21 Thread Michael A. Schoen
Michael Schoen wrote: "david" made AR/Oracle cry... http://dev.rubyonrails.org/changeset/4354 Issue here is just that :first isn't returning a specific record, there's no default order by for Oracle. Can you fix by changing this to either #find(id), or add :order => "id"?

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

2006-05-21 Thread David Heinemeier Hansson
Issue here is just that :first isn't returning a specific record, there's no default order by for Oracle. Can you fix by changing this to either #find(id), or add :order => "id"? My bad. Fixed. -- David Heinemeier Hansson http://www.loudthinking.com -- Broadcasting Brain http://www.basecamphq.co

[Rails-core] Rails AR/Oracle Unit Test: [4357] passed (fixed)

2006-05-21 Thread Michael Schoen
"david" made AR/Oracle happy again, thank you! http://dev.rubyonrails.org/changeset/4357 r4357 | david | 2006-05-21 15:17:56 -0700 (Sun, 21 May 2006) | 1 line Make Oracle happy ---

Re: [Rails-core] Filtering with ActiveRecord

2006-05-21 Thread Hampton
Introducing Patch #5143!http://dev.rubyonrails.org/ticket/5143This patch allows for a hash to be passed into the :condition parameter of the ActiveRecord::Base#find method. The functionality is described in detail in the patch and in the documentation that is with it. If anyone can run the unit tes