-
Notifications
You must be signed in to change notification settings - Fork 1
Use ActiveRecord models without table
License
robinsp/active_record_tableless
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
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
About
Use ActiveRecord models without table
Resources
License
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published