class ApplicationController < ActionController::Base
helper :all # include all helpers, all the time
model :cart
model :line_item
end
I want to use model class only(cart and line_item), so created without
scaffold.
I am using cart and line_item model classes separately and i want to
initiate this model classes in the application.rb, getting error stating
undefined method model.
I want to use model class only, so created without scaffold.
thanks
Angaps