Chris Sepic
Not a member
Chris Sepic's latest activity
Wednesday, June 09 2010
4812
NoMethodError when using 'class_attribute'
was updated
in Ruby on Rails
-
Chris Sepic commented at 8:56 PMLooking in class.rb, there is simply no "require" for attribute.rb. I don't know if there is a reason for this.
-
Chris Sepic commented at 8:54 PMNeeraj - 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 created the ticket at 6:04 PMrequire "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 commented at 4:48 AMFreezing currently works with the option after the path:
rails appname -f
However
rails -f appname
makes more sense to me.
+1