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

Saturday, January 15 2011
6293 rails dbconsole loads "production" env with "t" argument was created in Ruby on Rails
  • Akira Matsuda
    Akira Matsuda created the ticket at 10:58 PM

    This is dbconsole version of #5527

    % rails dbconsole t
    => loads production db
    
    % rails dbconsole d
    => loads production db
    

    Attached a patch with exactly the s...

Sunday, December 26 2010
5120 automatic client side validation with HTML 5 "required" attribute was updated in Ruby on Rails
  • Akira Matsuda
    Akira Matsuda commented at 10:55 PM

    Reworded the typos on commit comments.

  • Akira Matsuda
    • Tag set to actionview, activemodel, edge, patch, radio_button_tag, rails3.1, tested, text_area_tag, text_field, validates_length_of, validates_numericality_of, validates_presence_of, validations
    by Akira Matsuda at 10:48 PM

    Thank you guys for your comments!

    @Jeremy: Em... sorry for posting ugly code :< I know it was ugly, but I just wanted to know whether my idea was good or bad......

Saturday, December 25 2010
6223 rake update_ujs in railties doesn't work was created in Ruby on Rails
  • Akira Matsuda
    Akira Matsuda created the ticket at 4:51 PM

    Not sure whether anyone's using this Rake task (because both prototype_ujs.js and jquery_ujs.js in the Rails repo aren't up-to-date ATM), but anyway, this Rake ...

6222 accept String value for render_partial :as option was created in Ruby on Rails
  • Akira Matsuda
    Akira Matsuda created the ticket at 3:28 PM

    Currently, render_partial :as option only accepts a Symbol value.
    This seems a little bit unnatural since it accepts the partial name by String. IMO it's annoyi...

Sunday, December 19 2010
3973 before_type_cast not available for datetime fields was updated in Ruby on Rails
  • Akira Matsuda
    Akira Matsuda commented at 9:58 PM

    It didn't actually cleanly apply, so I created another patch for 3-0-stable branch.
    Could you try this one?

Thursday, December 16 2010
6180 rails dbconsole doesn't work for DM/Sequel + PostgreSQL was created in Ruby on Rails
  • Akira Matsuda
    Akira Matsuda created the ticket at 1:20 PM

    Because the dbconsole command only accepts 'postgresql' for the driver name while these ORMs are using 'postgres'.

    This is a patch for making them work.

5679 ActiveRecord::Base.default_timezone was updated in Ruby on Rails
  • Akira Matsuda
    • Tag changed from activerecord rails3, timezone to activerecord rails3, patch, tested, timezone
    by Akira Matsuda at 9:56 AM
  • Akira Matsuda
    Akira Matsuda commented at 8:05 AM

    Failed to upload. Trying again...

3973 before_type_cast not available for datetime fields was updated in Ruby on Rails
  • Akira Matsuda
    • Tag changed from datetime, typecast to activerecord rails3, datetime, edge, patch, rails3.1, tested, typecast
    by Akira Matsuda at 9:55 AM

    I found this still is a problem on current Edge (3.1.0 beta).
    So, here's a patch for the current master.
    I haven't tested for 2.x yet, but am willing to work on...