Jeremy Kemper wrote:
> It's Active Support fixing a bug in Ruby 1.8.x where UTC times are
> incorrectly unmarshaled as local, not UTC, times.
> 
> So we flag that the time is UTC when it's dumped and coerce it back to
> UTC when it's loaded.
> 
> jeremy
> 
> On Fri, Apr 24, 2009 at 12:03 PM, Morgan Morgan

i just noticed that it produces a page of errors in the error log.

Exception occurred during reader method compilation.
Maybe 11 is not a valid Ruby identifier?
compile error
/Library/Ruby/Gems/1.8/gems/activerecord-2.2.2/lib/active_record/attribute_methods.rb:211:
 
syntax error, unexpected tINTEGER
def 11; missing_attribute('11', caller) unless 
@attributes.has_key?('11'); @attributes['11']; end
      ^
/Library/Ruby/Gems/1.8/gems/activerecord-2.2.2/lib/active_record/attribute_methods.rb:211:
 
syntax error, unexpected kEND, expecting $end
def 11; missing_attribute('11', caller) unless 
@attributes.has_key?('11'); @attributes['11']; end
                                                                                
                 ^
Exception occurred during reader method compilation.
Maybe 11 is not a valid Ruby identifier?
compile error
/Library/Ruby/Gems/1.8/gems/activerecord-2.2.2/lib/active_record/attribute_methods.rb:211:
 
syntax error, unexpected tINTEGER
def 11=(new_value);write_attribute('11', new_value);end
      ^
Exception occurred during reader method compilation.
Maybe 11 is not a valid Ruby identifier?
compile error
/Library/Ruby/Gems/1.8/gems/activerecord-2.2.2/lib/active_record/attribute_methods.rb:211:
 
syntax error, unexpected tINTEGER
def 11?; query_attribute('11'); end
      ^
/Library/Ruby/Gems/1.8/gems/activerecord-2.2.2/lib/active_record/attribute_methods.rb:211:
 
syntax error, unexpected kEND, expecting $end
def 11?; query_attribute('11'); end
                                   ^
Exception occurred during reader method compilation.
Maybe 12 is not a valid Ruby identifier?
compile error
/Library/Ruby/Gems/1.8/gems/activerecord-2.2.2/lib/active_record/attribute_methods.rb:211:
 
syntax error, unexpected tINTEGER
def 12; missing_attribute('12', caller) unless 
@attributes.has_key?('12'); @attributes['12']; end
      ^
/Library/Ruby/Gems/1.8/gems/activerecord-2.2.2/lib/active_record/attribute_methods.rb:211:
 
syntax error, unexpected kEND, expecting $end
def 12; missing_attribute('12', caller) unless 
@attributes.has_key?('12'); @attributes['12']; end
                                                                                
                 ^
Exception occurred during reader method compilation.
Maybe 12 is not a valid Ruby identifier?
compile error
/Library/Ruby/Gems/1.8/gems/activerecord-2.2.2/lib/active_record/attribute_methods.rb:211:
 
syntax error, unexpected tINTEGER
def 12=(new_value);write_attribute('12', new_value);end
      ^
Exception occurred during reader method compilation.
Maybe 12 is not a valid Ruby identifier?
compile error
/Library/Ruby/Gems/1.8/gems/activerecord-2.2.2/lib/active_record/attribute_methods.rb:211:
 
syntax error, unexpected tINTEGER
def 12?; query_attribute('12'); end
      ^
/Library/Ruby/Gems/1.8/gems/activerecord-2.2.2/lib/active_record/attribute_methods.rb:211:
 
syntax error, unexpected kEND, expecting $end
def 12?; query_attribute('12'); end
                                   ^
Exception occurred during reader method compilation.
Maybe 13 is not a valid Ruby identifier?
compile error
/Library/Ruby/Gems/1.8/gems/activerecord-2.2.2/lib/active_record/attribute_methods.rb:211:
 
syntax error, unexpected tINTEGER
def 13; missing_attribute('13', caller) unless 
@attributes.has_key?('13'); @attributes['13']; end
      ^
/Library/Ruby/Gems/1.8/gems/activerecord-2.2.2/lib/active_record/attribute_methods.rb:211:
 
syntax error, unexpected kEND, expecting $end
def 13; missing_attribute('13', caller) unless 
@attributes.has_key?('13'); @attributes['13']; end
                                                                                
                 ^
Exception occurred during reader method compilation.
Maybe 13 is not a valid Ruby identifier?
compile error
/Library/Ruby/Gems/1.8/gems/activerecord-2.2.2/lib/active_record/attribute_methods.rb:211:
 
syntax error, unexpected tINTEGER
def 13=(new_value);write_attribute('13', new_value);end
      ^
Exception occurred during reader method compilation.
Maybe 13 is not a valid Ruby identifier?
compile error
/Library/Ruby/Gems/1.8/gems/activerecord-2.2.2/lib/active_record/attribute_methods.rb:211:
 
syntax error, unexpected tINTEGER
def 13?; query_attribute('13'); end
      ^
/Library/Ruby/Gems/1.8/gems/activerecord-2.2.2/lib/active_record/attribute_methods.rb:211:
 
syntax error, unexpected kEND, expecting $end
def 13?; query_attribute('13'); end
                                   ^


i don't know if this is normal..
-- 
Posted via http://www.ruby-forum.com/.

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to