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.

Akira Matsuda's latest activity

Thursday, March 10 2011
6555 delete_all doesn't work when chained with joins was created in Ruby on Rails
  • Akira Matsuda
    Akira Matsuda created the ticket at 10:10 AM

    Given a case when Pet.has_many :toys, the following delete_all fails:

    Pet.joins(:toys).where(:toys => {:name => 'Bone'}).delete_all
    

    bacause current Arel imple...

Thursday, February 10 2011
3973 before_type_cast not available for datetime fields was updated in Ruby on Rails
  • Akira Matsuda
    Akira Matsuda commented at 11:42 AM

    @Adam,

    I guess we cannot upload a file to Lighthouse using Chrome or Safari. Can you try again on Firefox?

Tuesday, February 01 2011
5679 ActiveRecord::Base.default_timezone was updated in Ruby on Rails
  • Akira Matsuda
    Akira Matsuda commented at 11:13 PM

    @José

    OK, I support your decision at this moment, but we should keep this trivial inconsistency in mind.

    I actually hit this problem when I was writing a tiny s...

6222 accept String value for render_partial :as option was updated in Ruby on Rails
Monday, January 31 2011
5503 trivial regression on auto_link for non-western languages was updated in Ruby on Rails
6180 rails dbconsole doesn't work for DM/Sequel + PostgreSQL was updated in Ruby on Rails
  • Akira Matsuda
    Akira Matsuda commented at 10:04 PM

    Yes, I'm willing to. But, are there any existing test case for dbconsole command? I couldn't find the file.

Thursday, January 27 2011
6339 sexier migration that doesn't need the block parameter for create_table was updated in Ruby on Rails
  • Akira Matsuda
    Akira Matsuda commented at 3:05 PM
    # sorry I made a tiny mistake
    s/column :string, :col1/column :col1, :string/
    
  • Akira Matsuda
    Akira Matsuda commented at 2:55 PM

    @José

    Thanks for reviewing!
    I think I understand your point. Yes, eval family should not be abused. It may cause unexpected weird problem when combined with oth...

Wednesday, January 26 2011
6339 sexier migration that doesn't need the block parameter for create_table was created in Ruby on Rails
  • Akira Matsuda
    Akira Matsuda created the ticket at 11:52 PM

    This patch enables the following syntax for AR::TableDefinition#create_table.

    class CreateUsers < ActiveRecord::Migration
      def change
        create_table :users ...
Saturday, January 15 2011
6293 rails dbconsole loads "production" env with "t" argument was updated in Ruby on Rails
  • Akira Matsuda
    Akira Matsuda commented at 11:01 PM

    ...Why can't Chrome upload an attachment?