This repository is private.
All pages are served over SSL and all pushing and pulling is done over SSH.
No one may fork, clone, or view it unless they are added as a member.
Every repository with this icon (
) is private.
Every repository with this icon (
This repository is public.
Anyone may fork, clone, or view it.
Every repository with this icon (
) is public.
Every repository with this icon (
jonathan (author)
Fri Sep 14 19:18:18 -0700 2007
| name | age | message | |
|---|---|---|---|
| |
CHANGELOG | Fri Sep 14 19:18:18 -0700 2007 | |
| |
MIT-LICENSE | Tue Oct 31 23:09:00 -0800 2006 | |
| |
README | Wed Feb 07 02:30:52 -0800 2007 | |
| |
Rakefile | Tue Oct 31 23:09:00 -0800 2006 | |
| |
lib/ | Fri Sep 14 19:18:18 -0700 2007 | |
| |
test/ | Fri Sep 14 19:18:18 -0700 2007 |
README
= ActiveRecordBaseWithoutTable If you find this plugin useful, please consider a donation to show your support! http://www.paypal.com/cgi-bin/webscr?cmd=_send-money Email address: jonathan.viney@gmail.com == Instructions Get the power of ActiveRecord models, including validation, without having a table in the database. class Contact < ActiveRecord::BaseWithoutTable column :name, :string column :email_address, :string column :message, :text validates_presence_of :name, :email_address, :string end This model can be used just like a regular model based on a table, except it will never be saved to the database. There is a good blog post available on the plugin: http://www.kangarooit.com/developer_blog/2007/02/email-form-validation-in-ruby-on-rails.php Any bugs, questions, comments please feel free to email me: jonathan.viney@gmail.com







