[Rails] (no subject)

thiago jackiw thiago at mingle.com
Mon Jan 16 18:56:49 GMT 2006


Hello, I'm new to ruby on rails, migrating from php, and I have some questions:

1- How do I work with null objects without returning the rails error to the user? Like if I'm searching for a record and no record's found, how would I deliver my custom message to the user?

2- How does the 'nil' object work?

Thanks
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://wrath.rubyonrails.org/pipermail/rails/attachments/20060116/3a0f6420/attachment.html


More information about the Rails mailing list