ActiveRecord::FileSystem?

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.

On 2/1/06, Scott NJ [email protected] 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
[email protected]
1-866-263-3261

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs