Regular expression and reading directories

Might this do?:

  Dir["#{RAILS_ROOT}/public/folder/*"]

Dir.[] (and Dir.glob) are much like a unix shell glob in that it will
omit dotfiles unless the glob starts with a dot.