search for: tm_zone_info

Displaying 1 result from an estimated 1 matches for "tm_zone_info".

2009 Mar 14
9
null object pattern
...from /usr/lib/ruby/gems/1.8/gems/activesupport-2.1.0/lib/active_support/dependencies.rb:479:in `const_missing'' from (irb):1 >> User.new => #<User id: nil, username: nil, section_id: nil, password_hash: nil, password_salt: nil, role_id: nil, member_number: nil, tm_zone_info: nil, region_id: nil> >> UnassignedUser.new => #<UnassignedUser id: nil, username: nil, section_id: nil, password_hash: nil, password_salt: nil, role_id: nil, member_number: nil, tm_zone_info: nil, region_id: nil> If I create user object first and then unassigneduser then it do...