Displaying 1 result from an estimated 1 matches for "member_numb".
Did you mean:
member_num
2009 Mar 14
9
null object pattern
...st_missing''
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 unas...