Skip to content

Instantly share code, notes, and snippets.

@dandemeyere
Created June 22, 2012 19:13
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 dandemeyere/2974579 to your computer and use it in GitHub Desktop.
Save dandemeyere/2974579 to your computer and use it in GitHub Desktop.
Rails 3.1 SSL Controller Requirements
# Rails 3.0
ssl_required :new, :create, :edit, :update
# Rails 3.1
force_ssl only: [:new, :create, :edit, :update]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment