Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8030835
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 5, 20262026-06-05T00:53:43+00:00 2026-06-05T00:53:43+00:00

I am making a new mountable engine. It is a part of a bigger

  • 0

I am making a new mountable engine.
It is a part of a bigger application.
I am trying to use the layout of another small engine as my engine and that engine need to have same layout.
For this purpose my aaplication controller looks like :

class ApplicationController < AnotherEngine::ApplicationController
     layout "AnotherEngine/AnotherEngine"    #Pointing to the layout file of other engine
end

Now the problem is that there are named_paths in the other engine which my engine is not able to recognise and throws

ActionView::Template::Error (undefined local variable or method `some_path' for #<#<Class:0xbbd9524>:0xbbf85c8>)

Why is the application not able to find the paths?
When I go to the other engine all works fine, but when my engine tries to use the layout of the other engine, which in turn has some named paths, I get these errors.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-05T00:53:45+00:00Added an answer on June 5, 2026 at 12:53 am

    The routes should be in the dorm of engine_name.named_path !! It will work like a charm 🙂

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm making a new OSX app and I'm trying to copy the flow that
I'm making a new Mac OS X application. (not an iPhone app) This is
I'm making a new game that generates a huge grid (lets say 1000x1000). The
Lately I've been making a new application and I'm using a ton of forms.
I'm new to Rails and making application where college members (teachers and students) can
I have a program which iterates over an array, deterministically making new row-vectors which
I'm new to lisp and trying to write a recursive function that returns minimum
I always have problems making new prefixes in xaml. Most of the time, i
I am doing what http://www.droidnova.com/2d-tutorial-series-part-ii,772.html has done but I am making new instances of
I'm new to Cocoa, and I'm trying to create an application to audit our

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.