Andrei
2011-Feb-19 10:09 UTC
How to extend controllers of a Rails 3 Engine in the main app?
Hello, In my Rails 3 app I use an engine having PostsController. I would like to extend it in the main app by adding and altering some methods. I have tried some things which you can see in stackoverflow.com/questions/5045068/ . There I am facing an exception since PostsController has different superclasses in my engine and main app. Do you know how I can fix it? Is it possible to fix without modifying the engine? Thanks -- 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-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.