Ruby on Rails | Screencasts | Download | Documentation | Weblog | Community | Source

Ticket #2601 (closed enhancement: fixed)

Opened 4 years ago

Last modified 3 years ago

Scaffold Methods should contain method verification

Reported by: nzkoz Assigned to: nzkoz
Priority: normal Milestone:
Component: ActiveRecord Version: 0.14.1
Severity: normal Keywords:
Cc:

Description

As discussed on Sam Ruby's blog, we should help new users be good 'web citizens' by ensuring that scaffolding (generated and reflection based) only allows GET for destructive actions.

Change History

10/25/05 19:18:26 changed by Sam Ruby

Err... that should be "only allows POST for destructive actions."

03/14/06 01:57:20 changed by nzkoz

  • status changed from new to closed.
  • resolution set to fixed.

(In [3864]) Add verification to scaffolds (generated and reflection based). Require POST for unsafe actions [Michael Koziarski]. Closes #2601