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 (
| name | age | message | |
|---|---|---|---|
| |
MIT-LICENSE | ||
| |
README | ||
| |
Rakefile | Sun Dec 07 07:31:47 -0800 2008 | |
| |
examples/ | ||
| |
generators/ | ||
| |
init.rb | ||
| |
lib/ | ||
| |
tasks/ | ||
| |
test/ | ||
| |
vendor/ | Sun Dec 07 07:38:37 -0800 2008 |
README
ClassyTee
=========
Classy Tee bring Class Table Inheritance to ActiveRecord and Rails in as simple a way possible.
Example
=======
if you have an existing model
class Content < ActiveRecord::Base
end
and you want to extend it.
Maybe you want to add a subclass that encapsulates all the logic of an MP3
class MP3Content < ActiveRecord::Base
classy_tee!
end
this will look for a MP3ContentExtensions class,
and add all of its columns as though they were on the :content table.
Generate this automatically
ruby script/generate classy_tee MP3Content mp3_url:string mp3_length:integer
Copyright (c) 2008 [Matthew Rudy Jacobs], released under the MIT license







