This project is archived and is in readonly mode.

#1744 ✓invalid
shankar

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

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>

People watching this ticket

Pages