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 (
Jack Danger Canty (author)
Tue Apr 29 09:30:24 -0700 2008
| name | age | message | |
|---|---|---|---|
| |
README | Fri Aug 03 17:11:14 -0700 2007 | [studioda] |
| |
Rakefile | Fri Aug 03 16:38:33 -0700 2007 | [studioda] |
| |
init.rb | Fri Aug 03 16:38:33 -0700 2007 | [studioda] |
| |
install.rb | Fri Aug 03 16:47:42 -0700 2007 | [studioda] |
| |
lib/ | Tue Apr 29 09:30:24 -0700 2008 | [Jack Danger Canty] |
| |
rails/ | Thu Mar 27 13:09:59 -0700 2008 | [Jack Danger Canty] |
| |
tasks/ | Fri Aug 03 16:38:33 -0700 2007 | [studioda] |
| |
test/ | Fri Aug 03 16:38:33 -0700 2007 | [studioda] |
| |
uninstall.rb | Fri Aug 03 16:38:33 -0700 2007 | [studioda] |
README
ImmutableAttributes =================== When you want to prevent certain attributes from being changed once set you can declare them as immutable: class MyModel < ActiveRecord::Base attr_immutable :permalink, :param_identifier end When MyModel.find(:first).permalink = 'anything' is called it will raise an ImmutableAttributeError MyModel.new.permalink = 'works!' will properly set the value because the record is unsaved. Created by Jack Danger Canty @ http://6brand.com Released under the same licence as Rails (MIT)




