Colin Law wrote: > I think it is @oLogin that you need to test for nil before accessing > @oLogin.login. This is to check whether the find returned anything. > > 2009/3/10 Chris Gunnels <[email protected]>
Thx... > Also, nobody around here uses HN like oLogin. We know it's an 'o'bject > already! good point...I come from a PHP background so not everything is an object, I just have to get used to that. -- 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 -~----------~----~----~----~------~----~------~--~---

