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.

Matt Simpson's latest activity

Thursday, August 26 2010
5463 AssetTagHelper.cache_asset_timestamps Issue was updated in Ruby on Rails
  • Matt Simpson
    Matt Simpson commented at 6:36 AM

    also would solve my problem if I could somehow get that cache id so that I can make an assertion with it.

  • Matt Simpson
    Matt Simpson created the ticket at 6:33 AM

    When setting the cache_asset_timestamps attribute to false I get inconsistent results:

    (rdb:1) ActionView::Helpers::AssetTagHelper.cache_asset_timestamps
    false...
Tuesday, August 10 2010
5337 accepts_nested_attributes_for bug? was updated in Ruby on Rails
  • Matt Simpson
    Matt Simpson commented at 4:43 AM

    However, looking further into the documentation (note that build is not in the method list) the correct usage is:

    @booking.build_event_information and doing so ...

  • Matt Simpson
    • Tag changed from active record, activerecord associations, nested attributes, activerecord to active record, activerecord associations, nested attributes, rails 3.0.0.beta4, activerecord
    by Matt Simpson at 4:38 AM

    I'm terribly sorry, I forgot to mention this is in Rails 3:

    [msimpson@dakota Code] (master) $ ruby -v
    ruby 1.9.2dev (2010-07-02 revision 28524) [x86_64-darwin1...
Monday, August 09 2010
5337 accepts_nested_attributes_for bug? was created in Ruby on Rails
  • Matt Simpson
    Matt Simpson created the ticket at 5:59 AM

    I have a new model object
    with accepts_nested_attributes_for to an associated model
    When I go to the html form, the fields for those nested attributes are not r...

Monday, July 19 2010
5149 Inserting integer saves different value was updated in Ruby on Rails
  • Matt Simpson
    • Tag changed from create, field_type, integer to create, field_type, integer, mysql, rails3, ruby1.9
    by Matt Simpson at 5:40 AM
  • Matt Simpson
    Matt Simpson created the ticket at 5:39 AM

    Hello,

    When I submit a form with an integer field value: 5551231234
    A different value is saved in the database.

    Server Log when submitting the form

    Started POS...
Saturday, July 10 2010
5080 no such file to load test_helper was created in Ruby on Rails
  • Matt Simpson
    Matt Simpson created the ticket at 6:48 AM

    When running unit test individually via

    $ ruby test/unit/city_test.rb
    

    I get:

    test/unit/city_test.rb:1:in `require': no such file to load -- test_helper (Load...