README.rdoc in property_sets-0.2.0 vs README.rdoc in property_sets-0.3.0
- old
+ new
@@ -50,13 +50,13 @@
])
Using nested attributes is subject to implementing your own security measures for mass update assignments.
Alternatively, it is possible to use a custom hash structure:
- params = { :property_sets => {
+ params = {
:settings => { :version => "v4.0", :featured => "1" },
:texts => { :epilogue => "Wibble wobble" }
- }}
+ }
@account.update_attributes(params)
The above will not update +featured+ as this has the protected flag set and is hence protected from
mass updates.
\ No newline at end of file