nevermind...i screwed up something...
On Apr 2, 12:13 pm, Mongdar
<ryan.ch...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
wrote:> I did some modification to my installment of savage beast 2 but I am
> getting the following error whenever I edit and create forum, topic,
> or post
>
> NoMethodError (undefined method `controller_name'' for
nil:NilClass):
> /usr/local/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/
> action_controller/caching.rb:655:in `callback''
> /usr/local/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/
> action_controller/caching.rb:637:in `after''
>
> after some investigation, for some reason the *_path are not returning
> restful url.
> for example,
> /forums/1/topics/1/posts/11/edit?page=1
> now becomes
> /posts/11/edit?forum_id=1&topic_id=1
>
> and i think this is why my edit and create doesn''t work anymore.
>
> Do you have any idea why this is happening and how to fix it?
> Thanks in advance!
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---