Lighthouse has a new layout. Prefer the old one? Return to the old layout, and switch back any time from the link at the top of each page.

Brian Candler's latest activity

Thursday, January 20 2011
3151 MySQL adapter update to enable use of stored procedures was updated in Ruby on Rails
  • Brian Candler
    Brian Candler commented at 4:34 PM

    Until this is fixed, a reasonable workaround in application code is to rescue the NoMethodError, because the stored procedure has successfully run before it's r...

  • Brian Candler
    Brian Candler commented at 4:03 PM

    There are still problems with this in 2.3.10 and 3.0.3 (I've tried both)

    (1) If the stored procedure doesn't return any result set at all, you get the following...

Monday, September 20 2010
5657 [PATCH] Rails 3.0 console hard aborts on attempted autocompletion was updated in Ruby on Rails
  • Brian Candler
    Brian Candler commented at 11:32 AM

    but instead of returning an array of Strings, as Class and its progeny do, Arel::Attribute::Predications.method_missing returns an array of Symbols

    Unfortunat...

5625 Misleading comment if db/schema.rb doesn't exist was updated in Ruby on Rails
  • Brian Candler
    Brian Candler commented at 9:08 AM

    The reformatted patch, which requires exactly one word to be changed, is attached.

Monday, September 13 2010
5625 Misleading comment if db/schema.rb doesn't exist was created in Ruby on Rails
  • Brian Candler
    Brian Candler created the ticket at 4:25 PM

    If db/schema.rb doesn't exist then the error message suggests editing config/boot.rb, whereas I believe it should be config/application.rb

    diff --git a/activer...
Tuesday, March 10 2009
2192 Remove #:nodoc: for ActiveRecord methods needed outside of Rails was created in Ruby on Rails
  • Brian Candler
    Brian Candler created the ticket at 10:40 AM

    When using ActiveRecord in a framework other than Rails, you will need to use these methods:

    • verify_active_connections! before handling each request, to ensur...