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.

Henrik Nyh's latest activity

Saturday, February 06 2010
3875 README mentions "script/server" etc, should be "rails server" was updated in Ruby on Rails
  • Henrik Nyh
    Henrik Nyh commented at 10:04 AM

    Oh yeah, forgot about docrails. I think I have access, actually. Thanks!

  • Henrik Nyh
    Henrik Nyh created the ticket at 7:30 AM

    The README file that goes into generated apps mentions "script/server", "script/console", "script/dbconsole" and "script/generate". These commands don't work in...

3874 "rails server --help" shows help twice and without "server" in usage was created in Ruby on Rails
  • Henrik Nyh
    Henrik Nyh created the ticket at 7:08 AM
    henrik@Nyx ~/Sites/rails3test$ rails server --help
    Usage: rails [options]
        -p, --port=port                  Runs Rails on the specified port.
                  ...
Thursday, January 14 2010
2998 [PATCH] SQL generated by find ignores :include option was updated in Ruby on Rails
  • Henrik Nyh
    Henrik Nyh commented at 1:03 PM

    Made a monkeypatch initializer that can be used until Johns patch is merged: http://gist.github.com/277141

  • Henrik Nyh
    Henrik Nyh commented at 12:01 PM

    +1, just ran into this on 2.3.5 (after upgrading from 2.1.2 where it worked).

Sunday, April 05 2009
2393 WhiteListSanitizer allows dt and dd but not dl was updated in Ruby on Rails
  • Henrik Nyh
    • Tag changed from bug, patch, sanitize to bug, patch, sanitize, tiny
    by Henrik Nyh at 3:30 PM

    +1

2254 When specifying url, form should be generated with it, but not this.href was updated in Ruby on Rails
  • Henrik Nyh
    • Tag changed from 2.3-rc2, link_to, url_helper to 2.3-rc2, link_to, patch, url_helper
    by Henrik Nyh at 3:29 PM
2420 [PATCH] Allow cancelling ActionMailer delivery from within the mailer was created in Ruby on Rails
  • Henrik Nyh
    Henrik Nyh created the ticket at 8:46 AM

    I just made a patch (see attached) so you can cancel an ActionMailer delivery by raising CancelDelivery (with an optional message, that is logged) in an ActionM...

Sunday, March 22 2009
2310 has_many :through + scope + empty? fails in 2.3.2 (but not 2.3.0) was updated in Ruby on Rails
  • Henrik Nyh
    Henrik Nyh commented at 2:02 PM

    Probably related:

    
    p = Post.last
    t = Tag.last
    p.tags << t
    

    gives

    
    ActiveRecord::StatementInvalid: Mysql::Error: You have an error in your SQL syntax; che...
  • Henrik Nyh
    Henrik Nyh created the ticket at 1:28 PM

    A Post has_many Tags through Taggings.

    Tag has this named scope:

    
    named_scope :by_name, { :order => 'name ASC' }
    

    In Rails 2.2.2 and 2.3.0, this worked fine:

    ...