Permalink
Switch branches/tags
Nothing to show
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
31 lines (19 sloc) 668 Bytes
ActiveRecordTableless
=====================
Rails plugin allowing ActiveRecord models to be used with validations but
without being backed by a database table.
Install
=======
script/plugin install git://github.com/robinsp/active_record_tableless.git
Example
=======
class TablelessModel < ActiveRecord::Base
tableless :columns => [
[:email, :string],
[:password, :string],
[:password_confirmation]
]
validates_presence_of :email, :password, :password_confirmation
validates_confirmation_of :password
end
Copyright (c) 2008 [name of plugin creator], released under the MIT license