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.

Mike (at coverallcrew)'s latest activity

Thursday, April 15 2010
4405 fields with errors do not get wrapped in fieldWithErrors was updated in Ruby on Rails
  • Mike (at coverallcrew)
    Mike (at coverallcrew) commented at 5:46 PM

    Attached a patch that allows the label to be highlighted if there is a validation error.

  • Mike (at coverallcrew)
    Mike (at coverallcrew) commented at 5:13 PM

    After some hackery I found that adding label_tag to the array in the module: ActionView::Helpers::ActiveModelInstanceTag (/lib/actionview/helpers/active_model_h...

  • Mike (at coverallcrew)
    Mike (at coverallcrew) created the ticket at 3:45 PM

    ActiveModel form_for does not call field_error_proc when there is an error on the field.

    input's work fine. Labels, select lists fail.

    This results in labels no...

Friday, April 02 2010
4310 I18n labels don't appear in error_messages_for was created in Ruby on Rails
  • Mike (at coverallcrew)
    Mike (at coverallcrew) created the ticket at 4:56 AM

    When a label is defined in locales file it appears as a label on the form, but the error_messages_for helper does not reflect this name. It still shows the huma...

4309 config.assets_dir missing in actionmailer was updated in Ruby on Rails
  • Mike (at coverallcrew)
    Mike (at coverallcrew) commented at 4:39 AM

    Additional notes:
    Worked in Rails 3.0.0.beta
    Fails in Rails 3.0.0.beta2

  • Mike (at coverallcrew)
    Mike (at coverallcrew) created the ticket at 4:37 AM

    I'm trying to use image_tag in a view of a mailer. Calling image_tag throws the exception:

    ActionView::Template::Error (can't convert nil into String)

    I've trac...

Saturday, March 27 2010
4152 ActiveModel::Observer and ActiveRecord... was updated in Ruby on Rails
  • Mike (at coverallcrew)
    Mike (at coverallcrew) commented at 5:31 PM

    Hi Yehuda,

    This still needs ActiveRecord requirements in config/application.rb (when calling config.active_record.observers). Perhaps I'm missing something for ...

4274 undefined method `bytesize' for ActionDispatch::Response was updated in Ruby on Rails
  • Mike (at coverallcrew)
    Mike (at coverallcrew) commented at 3:40 AM

    Hi Yehuda,

    It fails when using version 0.9.2 of rack-contrib... and upon further investigation it seems the culprit is simply when I add this to my Gemfile:

    ge...
Friday, March 26 2010
4274 undefined method `bytesize' for ActionDispatch::Response was created in Ruby on Rails
  • Mike (at coverallcrew)
    Mike (at coverallcrew) created the ticket at 3:58 PM

    I recently added Rack::JSONP middleware to my Rails 3 app.

    It works like a charm when adding the ?callback=my_method to the json request, but explodes with the ...

Thursday, March 11 2010
4152 ActiveModel::Observer and ActiveRecord... was created in Ruby on Rails
  • Mike (at coverallcrew)
    Mike (at coverallcrew) created the ticket at 12:29 AM

    I'm using mongomapper and would like to implement some observers for my application and models.

    config.active_record.observers = :my_observer

    relies on having: ...