I upgraded an app to 2.01 and can''t figure out why I am getting a undefined method `param_posted?'' for #<ControlPanelController: 0xb748ba18> The controller should be inheriting this. class ControlPanelController < ApplicationController --~--~---------~--~----~------------~-------~--~----~ 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 rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
there is no method called param_posted? unless you defined it in your applicationController. How are we supposed to know this if you don''t post the relevant code? On Dec 18, 2007 4:46 AM, tresero <jongriffinjr-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> > I upgraded an app to 2.01 and can''t figure out why I am getting a > > undefined method `param_posted?'' for #<ControlPanelController: > 0xb748ba18> > > The controller should be inheriting this. > > class ControlPanelController < ApplicationController > > > > >-- Ryan Bigg http://www.frozenplague.net --~--~---------~--~----~------------~-------~--~----~ 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 rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
Yes that was my stupidity, I forgot that I added this in application controller. Thanks for reminding me. On Dec 17, 2:41 pm, "Ryan Bigg" <radarliste...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> there is no method called param_posted? unless you defined it in your > applicationController. > > How are we supposed to know this if you don''t post the relevant code? > > On Dec 18, 2007 4:46 AM, tresero <jongriffi...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote: > > > > > I upgraded an app to 2.01 and can''t figure out why I am getting a > > > undefined method `param_posted?'' for #<ControlPanelController: > > 0xb748ba18> > > > The controller should be inheriting this. > > > class ControlPanelController < ApplicationController > > -- > Ryan Bigghttp://www.frozenplague.net--~--~---------~--~----~------------~-------~--~----~ 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 rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---