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

Ticket #435 (closed task: duplicate)

Opened 4 years ago

Last modified 2 years ago

@request, another reserved word

Reported by: Mathieu Jobin Assigned to: David
Priority: low Milestone:
Component: Prototype Version: 1.1.1
Severity: minor Keywords:
Cc:

Description

even tho Request is not a reserve class, if you happen to create a Request model and you encounter an error in your code. the rails error engine will try to lookup the class variable @request which has been overwritten by the scaffold

then you'll receive a magic "parameters" method not found in class Reserve ??? which can be really confusing

either block the creation of a Request controller/model

or change this variable to a less common name or a more appropriate scope

thanks

# using 0.9.3

Change History

02/28/05 22:07:09 changed by bitsweat

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

Ticket #752

07/03/06 07:39:43 changed by anonymous

  • priority changed from normal to lowest.
  • type changed from defect to task.
  • version changed from 0.9.2 to 1.1.1.
  • component changed from RailTies to Prototype.
  • severity changed from normal to minor.