Changeset [140aff2bdfe2bfaec65994ca636923222fc5ebba] by Christopher Peplin
Revision 140aff2bdfe2bfaec65994ca636923222fc5ebba,
committed by Christopher Peplin
· November 4th, 2010 @ 02:07 AM
Capacity on an instance can be set between the limit of the
type.
https://github.com/peplin/threephase/commit/140aff2bdfe2bfaec65994c...
11 changed files
-
M
app/models/generator.rb -
M
app/models/technical_component.rb -
M
app/models/technical_component_instance.rb -
M
db/fixtures/050_generator_types.rb -
M
db/fixtures/050_line_types.rb -
M
db/migrate/20100903213938_create_technical_components.rb -
M
db/migrate/20100905170500_create_technical_component_instances.rb -
M
db/schema.rb -
M
spec/models/technical_component_instance_spec.rb -
M
spec/models/technical_component_spec.rb -
M
spec/support/a_technical_component_factory.rb