[Rails] Re: File links with wildcards(?)

2010-10-14 Thread Brandon P.
Robert Walker wrote in post #950275: > > Take a look at the Dir class (especially Dir.glob()/ Dir[]. methods). > > http://www.ruby-doc.org/core/classes/Dir.html Thanks a lot, Robert! Dir.glob() is just what I needed. Now I just have to figure out the best way to implement it. -- Posted via ht

[Rails] Re: File links with wildcards(?)

2010-10-14 Thread Robert Walker
Brandon P. wrote in post #950271: > So here is what I want to do: Create a simple link to the applicable PDF > from the record editor/show. So if I'm viewing, for example, > job/record 2010-1234 I'll have a rails-generated-link to it's respective > PDF. The problem is that I need a link that look