On 19 Jan 2009, at 06:58, Angappan Ayyavoo wrote:

>
>
>
> 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.
>
That method was removed ages ago and is no longer needed.

Fred
> I want to use model class only, so created without scaffold.
>
>
> thanks
> Angaps
> -- 
> Posted via http://www.ruby-forum.com/.
>
> >


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to