Permalink
Browse files

Preparing history and version

  • Loading branch information...
1 parent 22bbaad commit 7809ea409d4e84f9d6f1281957be31b3623db2f3 @samlown samlown committed Jun 8, 2012
Showing with 12 additions and 4 deletions.
  1. +8 −2 README.md
  2. +1 −1 VERSION
  3. +3 −1 history.md
View
@@ -21,7 +21,11 @@ it is not possible to load ActiveModel into programs that do not use ActiveSuppo
CouchRest Model is only properly tested on CouchDB version 1.0 or newer.
-*WARNING:* As of April 2011 and the release of version 1.1.0, the default model type key is 'type' instead of 'couchrest-type'. Simply updating your project will not work unless you migrate your data or set the configuration option in your initializers:
+### Upgrading from an earlier version?
+
+*Pre 1.2:* As of June 2012, couchrest model no longer supports the `view_by` and `view` calls from the model. Views are no only accessed via a design document. If you have older code and wish to upgrade, please ensure you move to the new syntax for using views.
+
+*Pre 1.1:* As of April 2011 and the release of version 1.1.0, the default model type key is 'type' instead of 'couchrest-type'. Simply updating your project will not work unless you migrate your data or set the configuration option in your initializers:
CouchRest::Model::Base.configure do |config|
config.model_type_key = 'couchrest-type'
@@ -91,7 +95,9 @@ The example config above for example would use a database called "project_test".
timestamps!
- view_by :name
+ design do
+ view :by_name
+ end
end
View
@@ -1 +1 @@
-1.1.2
+1.2.0.beta
View
@@ -1,7 +1,9 @@
# CouchRest Model Change History
-## 1.1.3
+## 1.2.0.beta - 2012-06-08
+ * Completely refactored Design Document handling.
+ * Removed old `view` and `view_by` methods.
* CouchRest::Model::Base.respond_to_missing? and respond_to? (Kim Burgestrand)
* Time#as_json now insists on using xmlschema with 3 fraction digits by default.
* Added time_fraction_digits configuration object

0 comments on commit 7809ea4

Please sign in to comment.