[Rails] Re: Opening a folder for file selection
Thanks, I'll give those steps a try.
The name is leftover from earlier work and should be changed, as
you've pointed out.
Barney
On Aug 17, 7:52 pm, 7stud -- <li...@ruby-forum.com> wrote:
> One way:
>
> 1) Get the filenames: Dir.foreach or Dir.glob.
> 2) Create a view that provides a list of links, one for each file.
> 3) The links connect to another action, which sends the file.
>
> Why is your action named 'upload'? How about 'download'?
>
> --
> Posted viahttp://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 rubyonrails-talk@googlegroups.com.
To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
0 Comments:
Post a Comment
Subscribe to Post Comments [Atom]
<< Home