Lighthouse has a new layout. Prefer the old one? Return to the old layout, and switch back any time from the link at the top of each page.
This project is archived and is in readonly mode.
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
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
Reported by shankar · January 13th, 2009 @ 08:48 AM
http://groups.google.com/group/r...
March 13th, 2009 @ 10:57 AM