README.txt in amee-data-persistence-1.2.0 vs README.txt in amee-data-persistence-2.0.0
- old
+ new
@@ -45,15 +45,15 @@
and metadata only.
The global persistence storage level and migrations for the database tables
(under /db/migrate) can be generated using the command line generator command:
- $ script/generate persistence <storage_level>
+ $ rails generate persistence <storage_level>
where <storage_level> can be either 'everything', 'outputs' or 'metadata', e.g.,
- $ script/generate persistence everything
+ $ rails generate persistence everything
=== Example usage
my_calculation = OngoingCalculation.find(:first)
@@ -84,9 +84,6 @@
:co2 => { :value => 234.1,
:unit => <Quantify::Unit::NonSI> }}
my_calculation.save #=> true
- my_calculation.delete #=> nil
-
-In order to use the persistence library, prototype calculations must be held within
-instances of the AMEE::DataAbstraction::CalculationSet class
+ my_calculation.delete #=> nil
\ No newline at end of file