ActiveRecord::FileSystem?


#1

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.


#2

On 2/1/06, Scott NJ removed_email_address@domain.invalid wrote:

validates_filesize
http://lists.rubyonrails.org/mailman/listinfo/rails

Um… Ruby’s FileUtils class in the stdlib?


Kyle M.
Chief Technologist
E Factor Media // FN Interactive
removed_email_address@domain.invalid
1-866-263-3261