README.md in snake-eyes-0.0.5 vs README.md in snake-eyes-0.0.6
- old
+ new
@@ -4,11 +4,11 @@
## Important
🚧🚧🚧🚧🚧🚧🚧🚧🚧🚧🚧🚧🚧🚧🚧🚧🚧🚧🚧
-If you are using a version below `0.0.4`, please upgrade to avoid [potentially logging sensitive user information](https://github.com/greena13/snake-eyes/issues/1)
+If you are using a version below `0.0.4`, please upgrade to avoid [potentially logging sensitive user information](https://github.com/greena13/snake-eyes/issues/1)
## Installation
Add this line to your application's Gemfile:
@@ -43,12 +43,12 @@
params # results in:
# {
# 'user' => {
# 'name' => 'John Smith',
# 'favouriteColor' => 'blue',
- # 'address' => { '123 street' },
- # 'billingAddress' => { '456 road' }
+ # 'address' => { line1: '123 street' },
+ # 'billingAddress' => { line1: '456 road' }
# }
#}
end
end
@@ -59,12 +59,12 @@
params(nested_attributes: { user: [ :address, :billing_address ] }) # results in:
# {
# 'user_attributes' => {
# 'name' => 'John Smith',
# 'favourite_color' => 'blue',
- # 'address_attributes' => { '123 street' },
- # 'billing_address_attributes' => { '456 road' }
+ # 'address_attributes' => { line1: '123 street' },
+ # 'billing_address_attributes' => { line1: '456 road' }
# }
#}
end
end
```
@@ -80,11 +80,11 @@
params(nested_attributes: { _user: [ :address, :billing_address ] }) # results in:
# {
# 'user' => {
# 'name' => 'John Smith',
# 'favourite_color' => 'blue',
- # 'address_attributes' => { '123 street' },
- # 'billing_address_attributes' => { '456 road' }
+ # 'address_attributes' => { 'line1: 123 street' },
+ # 'billing_address_attributes' => { line1: '456 road' }
# }
#}
end
end
```