On Nov 16, 2007, at 12:15 AM, Bob Sanders wrote:
> I have a folder called "admin" to hold all of the
administrator''s
> files.
> If I wanted to check if a file is inside the "/admin" folder
(e.g.
> /admin/tasks/list.rhtml), how would I do it?
Look up the Ruby command File.exist?
-- gw (www.railsdev.ws)
--~--~---------~--~----~------------~-------~--~----~
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
rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
To unsubscribe from this group, send email to
rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
For more options, visit this group at
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---