Changeset [7f9c65e5b6cf23a7dc1548650d639810da50cf9b] by Christopher Peplin
Revision 7f9c65e5b6cf23a7dc1548650d639810da50cf9b,
committed by Christopher Peplin
· October 30th, 2010 @ 10:54 PM
Calculate operating level on demand instead of storing as an
attribute.
http://github.com/peplin/threephase/commit/7f9c65e5b6cf23a7dc154865...
8 changed files
-
M
app/models/generator.rb -
M
app/models/state.rb -
M
app/models/technical_component_instance.rb -
M
db/migrate/20100905170500_create_technical_component_instances.rb -
M
db/migrate/20100905172809_create_interstate_lines.rb -
M
db/schema.rb -
M
spec/models/generator_spec.rb -
M
spec/models/technical_component_instance_spec.rb