Skip to content

@vsavkin /ddd_example1.rb
Created

Embed URL

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
JSON Serialization in Controller
def update
p = Person.find(params[:id])
if p.update_bank_information params[:bank_information]
render :json => p.as_json
else
render :json => "some kind of error"
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.