README.md in versioncake-0.3.1 vs README.md in versioncake-0.3.2
- old
+ new
@@ -46,11 +46,11 @@
def index
# shared code for all versions
@posts = Post.scoped
# version 3 or greated supports embedding post comments
- if requested_version >= 3
+ if derived_version >= 3
@posts = @posts.includes(:comments)
end
end
end
```
@@ -197,10 +197,10 @@
def index
# shared code for all versions
@posts = Post.scoped
# version 3 or greated supports embedding post comments
- if requested_version >= 3
+ if derived_version >= 3
@posts = @posts.includes(:comments)
end
end
```
### Client requests