Forum: Ruby on Rails ActiveRecord::FileSystem???

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
Eecd295cdec2454c66e2015036a39408?d=identicon&s=25 Scott Nj (scottnj)
on 2006-02-01 21:00
Rails makes working with databases easy with ActiveRecord::Base.

Has anyone written a rails system for working with files so we can do
things like:

class User < ActiveRecord::FileSystem
  root_directory "c:/uploads"
  file_permissions
  directory_permissions
  validates_filetype
  validates_filesize
  validates_filename
  before_save

I know about file_column, but I don't want to use a database.
4bd34a2216dc8bdbf1f017f64e4d59e8?d=identicon&s=25 Kyle Maxwell (Guest)
on 2006-02-02 19:59
(Received via mailing list)
On 2/1/06, Scott NJ <scottnj@gmail.com> wrote:
>   validates_filesize
> http://lists.rubyonrails.org/mailman/listinfo/rails
>

Um.. Ruby's FileUtils class in the stdlib?

--
Kyle Maxwell
Chief Technologist
E Factor Media // FN Interactive
kyle@efactormedia.com
1-866-263-3261
This topic is locked and can not be replied to.