public
Created

Updated Controller

  • Download Gist
ddd_example1_3.rb
Ruby
1 2 3 4 5
def update
p = Person.find(params[:id])
p.update_bank_information params[:bank_information]
render :json => PersonJsonSerializer.as_json(p)
end

Please sign in to comment on this gist.

Something went wrong with that request. Please try again.