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.

2 College Bums's latest activity

Wednesday, June 23 2010
4940 ActiveRecord AssociationCollection build should set belongs_to association be... was created in Ruby on Rails
  • 2 College Bums
    2 College Bums created the ticket at 1:19 AM

    activerecord/associations/association_collection.rb
    Current implementation is this:

    def build(attributes = {}, &block)
      if attributes.is_a?(Array)
        attribu...
Sunday, September 20 2009
3239 add method to check if association is eager loaded was created in Ruby on Rails
  • 2 College Bums
    2 College Bums created the ticket at 9:50 PM

    To optimize sql queries for an application, it is helpful to see if associations that will be used are eager loaded. A simple method will allow users to easily ...

Thursday, October 16 2008
577 field_set_tag should take an options hash was updated in Ruby on Rails
  • 2 College Bums
    • Assigned user set to josh
    by 2 College Bums at 7:43 AM

    Hey Joshua,

    Thanks for reviewing our ticket. May we ask the rationale for not allowing an options hash for the fieldset tag?

    Thanks!

Tuesday, September 09 2008
922 has_many through transaction rollback was updated in Ruby on Rails
Friday, September 05 2008
922 has_many through transaction rollback was updated in Ruby on Rails
  • 2 College Bums
    2 College Bums commented at 10:20 PM

    This patch does not solve this issue. We tested it in edge and the use case above still fails. We checked to make sure that save_with_transactions was called, a...

Thursday, August 28 2008
922 has_many through transaction rollback was created in Ruby on Rails
  • 2 College Bums
    2 College Bums created the ticket at 4:32 AM

    When saving a model that contains a has_many through association, the entire transaction fails to rollback when the validation fails. Specifically xxx_ids= shou...

Wednesday, July 09 2008
577 field_set_tag should take an options hash was updated in Ruby on Rails
  • 2 College Bums
    2 College Bums commented at 10:31 PM

    Good catch. However you need a closing fieldset tag

      def field_set_tag(legend = nil, options={}, &block)
        content = capture(&block)
        concat(tag(:fiel...
Tuesday, July 08 2008
577 field_set_tag should take an options hash was created in Ruby on Rails
  • 2 College Bums
    2 College Bums created the ticket at 9:11 PM

    currently field_set_tag only takes a legend and a block, and forces an empty hash for the options in the fieldset tag call.

    module ActionView
      module Helper...
558 TimeWithZone fails to unmarshal properly was updated in Ruby on Rails
  • 2 College Bums
    2 College Bums commented at 9:08 PM

    We don't feel comfortable in creating a patch ourselves, but thanks for the opportunity.

Monday, July 07 2008
558 TimeWithZone fails to unmarshal properly was created in Ruby on Rails
  • 2 College Bums
    2 College Bums created the ticket at 10:15 AM

    When marshaling a TimeWithZone, it will marshal properly. However, when unmarshaling that same object the time will change destructively.

    This is a sample on ...