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.

François Beausoleil's latest activity

Monday, December 20 2010
1282 has_many :dependent => :restrict was updated in Ruby on Rails
  • François Beausoleil
    François Beausoleil commented at 3:45 PM

    Couldn't this simply add a validation check before anything else? Then validation will pick the problem, and before_destroy callbacks won't have a chance to fir...

6199 has_many :dependent => :deny was updated in Ruby on Rails
  • François Beausoleil
    • Tag changed from has_many dependent to has_many
    by François Beausoleil at 2:41 PM

    Forgot to preview...

    # db/schema.rb
    create_table "campaigns" do |t|
      t.integer "advertiser_id", :null => false
      # ...
    end
    
    # app/models/advertiser.rb
    class A...
  • François Beausoleil
    François Beausoleil created the ticket at 2:39 PM

    I have a case which would be perfect for this.

    db/schema.rb

    create_table "campaigns" do |t|
    t.integer "advertiser_id", :null => false # ... end

    class Advertiser...

Monday, May 24 2010
3394 polymorphic_url fails to generate routes with :path_prefix with a variable was updated in Ruby on Rails
  • François Beausoleil
    • Tag changed from 2-3-stable, 2.3.6, action_pack, bugmash-patch, patch, polymorphic_path to 2-3-stable, action_pack, bugmash-patch, patch, polymorphic_path
    by François Beausoleil at 4:04 PM

    This patch is in production since December 2009 for us. We've had great success. Would like to see this applied on 2-3-stable.

Thursday, November 05 2009
3394 polymorphic_url fails to generate routes with :path_prefix with a variable was updated in Ruby on Rails
Friday, September 18 2009
3232 [PATCH] ActiveResource with Digest authentication was updated in Ruby on Rails
  • François Beausoleil
    • Tag changed from active_resource, authentication to active_resource, authentication, patch
    by François Beausoleil at 4:53 PM
  • François Beausoleil
    François Beausoleil created the ticket at 4:51 PM

    I added Digest authentication to ActiveResource. By default, this is turned off.

    I'm pretty sure this won't be included in core as-is, but I currently use this ...

Thursday, April 09 2009
2461 Joined table not quoted with has_many :through was updated in Ruby on Rails
Wednesday, April 08 2009
2461 Joined table not quoted with has_many :through was created in Ruby on Rails
  • François Beausoleil
    François Beausoleil created the ticket at 9:10 PM

    Given the following models:

    
    class EmbedCode < AR::B
      has_many :references
      has_many :orders, :through => :references
    end
    
    class Reference < AR::B
      b...