This project is archived and is in readonly mode.
Deprecated method model
Reported by shankar | January 13th, 2009 @ 08:48 AM | in 2.x
Hi All
Iam new to ROR.
Iam using the model or scaffold in the application.rb, its stating that undefined model.
undefined method model' for
ApplicationController:Class
class ApplicationController < ActionController::Base helper :all # include all helpers, all the time
model :cart model :line_item end
i want to use my model and to be used in the rhtml files. how can i use this. how can i overcome this type of errors?
thanks shankar
Comments and changes to this ticket
-
Pratik March 13th, 2009 @ 10:57 AM
- State changed from new to invalid
Create your profile
Help contribute to this project by taking a few moments to create your personal profile. Create your profile »
<h2 style="font-size: 14px">Tickets have moved to Github</h2>
The new ticket tracker is available at <a href="https://github.com/rails/rails/issues">https://github.com/rails/rails/issues</a>