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.

Chris Sepic's latest activity

Wednesday, June 09 2010
4812 NoMethodError when using 'class_attribute' was updated in Ruby on Rails
  • Chris Sepic
    Chris Sepic commented at 8:56 PM

    Looking in class.rb, there is simply no "require" for attribute.rb. I don't know if there is a reason for this.

  • Chris Sepic
    Chris Sepic commented at 8:54 PM

    Neeraj - I'm just requiring the latest activesupport (activesupport-3.0.0.beta4) in irb:

    irb(main):001:0> gem "activesupport", "3.0.0.beta4"
    => true
    irb(main):...
  • Chris Sepic
    Chris Sepic created the ticket at 6:04 PM

    require "active_support/all" # or /core_ext

    Class Foo; class_attribute :bar; end # raises NoMethodError

Tuesday, January 13 2009
1743 Fix --freeze option was updated in Ruby on Rails
  • Chris Sepic
    Chris Sepic commented at 4:48 AM

    Freezing currently works with the option after the path:

    rails appname -f

    However

    rails -f appname

    makes more sense to me.

    +1