Skip to content

Instantly share code, notes, and snippets.

@endel
Created August 4, 2011 00:06
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save endel/1124200 to your computer and use it in GitHub Desktop.
Save endel/1124200 to your computer and use it in GitHub Desktop.
@saas_publisher = @saas_publishers.find(params[:id])
@saas_publisher.publisher.update_attributes(params[:saas_publisher].delete(:publisher))
@saas_publisher.update_attributes(params[:saas_publisher])
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment