Skip to content

Instantly share code, notes, and snippets.

@shu0115
Created March 28, 2012 09:18
Show Gist options
  • Save shu0115/2224988 to your computer and use it in GitHub Desktop.
Save shu0115/2224988 to your computer and use it in GitHub Desktop.
#resupond_withで質問なのですが、エラーが起きた場合のデフォルトの挙動を変更する場合、
respond_with(@content, :error => 'foo', :location => 'bar')
# とすればいいのでしょうか? #rails_q
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment