undefined method `isolate_namespace' for RussellEdge::HasManyPolymorphic::Engine:Class #2

Open
umaviswanathan opened this Issue Sep 19, 2013 · 3 comments

Comments

Projects
None yet
2 participants

Hi Russel,

I'm got this error

undefined method `isolate_namespace' for RussellEdge::HasManyPolymorphic::Engine:Class

included this gem in gemfile
added new file inside the config/initializer/has_many_polymorphic.rb

content of the file is
RussellEdge::HasManyPolymorphic::Engine.add_models(%w(Asset RightSet))

while starting the server thrown this error

can I get help from you ?...

Owner

russ1985 commented Sep 19, 2013

Thanks for the email,

Couple of questions..

What version of

Rails
Ruby

are you using?

On 9/19/13 9:35 AM, umaviswanathan wrote:

Hi Russel,

I'm got this error

undefined method `isolate_namespace' for
RussellEdge::HasManyPolymorphic::Engine:Class

included this gem in gemfile
added new file inside the config/initializer/has_many_polymorphic.rb

content of the file is
RussellEdge::HasManyPolymorphic::Engine.add_models(%w(Asset RightSet))

while starting the server thrown this error

can I get help from you ?...


Reply to this email directly or view it on GitHub
#2.

Owner

russ1985 commented Sep 19, 2013

Technically isolate_namespace is not needed as it isolates controllers
and routes from a rails application in which this plugin is used. This
gem doesn't use controllers or routes so it should be ok to remove, I
will do some testing and and remove it if it is not necessary.

On 9/19/13 9:35 AM, umaviswanathan wrote:

Hi Russel,

I'm got this error

undefined method `isolate_namespace' for
RussellEdge::HasManyPolymorphic::Engine:Class

included this gem in gemfile
added new file inside the config/initializer/has_many_polymorphic.rb

content of the file is
RussellEdge::HasManyPolymorphic::Engine.add_models(%w(Asset RightSet))

while starting the server thrown this error

can I get help from you ?...


Reply to this email directly or view it on GitHub
#2.

Owner

russ1985 commented Sep 19, 2013

I removed isolate_namespace and ran my specs against rails 4 and
everything passed, let me know if you have any more issues.

On 9/19/13 9:35 AM, umaviswanathan wrote:

Hi Russel,

I'm got this error

undefined method `isolate_namespace' for
RussellEdge::HasManyPolymorphic::Engine:Class

included this gem in gemfile
added new file inside the config/initializer/has_many_polymorphic.rb

content of the file is
RussellEdge::HasManyPolymorphic::Engine.add_models(%w(Asset RightSet))

while starting the server thrown this error

can I get help from you ?...


Reply to this email directly or view it on GitHub
#2.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment