Throttle Repository and Project creation by user_id
authorJohan Sørensen <johan@johansorensen.com>
Wed, 1 Apr 2009 10:29:30 +0000 (12:29 +0200)
committerJohan Sørensen <johan@johansorensen.com>
Wed, 22 Apr 2009 13:18:13 +0000 (15:18 +0200)
commit21324a9db264df24b0ced2141dff75f593a2f647
tree9d64b237c03793b051c4f5defad611931ee469f9
parentff48a0025920ae5e3eba31cffa5dceb4913e2282
Throttle Repository and Project creation by user_id

Introduce a RecordThrottling module for declaratively, uhm, declaring
parameters for throttling a record on either create or update
app/controllers/application_controller.rb
app/models/project.rb
app/models/repository.rb
app/views/projects/_throttled_record.erb [new file with mode: 0644]
lib/record_throttling.rb [new file with mode: 0644]
test/unit/project_test.rb
test/unit/repository_test.rb