On Mar 29, 1:59 pm, derm_w <[email protected]> wrote:
> Hi all.
>
> I'm new to rails and am learning my way by putting together a simple
> app.
Thanks for your replies, Frederick and Fernando.
I'm anticipating users playing around with url and putting in their
own random ID's.
So I would like to have a 'No record found' displayed when non
existant ID is inserted just like find_by_id does when it returns nil.
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---