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

  • Home
  • SEARCH
  • 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 6031697
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 23, 20262026-05-23T05:13:25+00:00 2026-05-23T05:13:25+00:00

I have a rails application that is up and running on Ubuntu virtual machine

  • 0

I have a rails application that is up and running on Ubuntu virtual machine and on several different installations.

I have a new computer and after installing Ruby and Rails (using rvm) I can run the application but when accessing views the helper functions are not found. The helper :all line is in the ApplicationController.

I am pretty sure this is a problem with my environment and not the app. Is there a missing gem that would cause this problem?

Can you recommend any steps that I could take to debug this issue?

MacBook-Air:cyberdojo mike$ ruby -v
ruby 1.8.7 (2011-02-18 patchlevel 334) [i686-darwin10.7.0]
MacBook-Air:cyberdojo mike$ rails -v
Rails 2.3.11

The actual error I get is this:

NoMethodError in Dojo#create

Showing app/views/dojo/create.html.erb where line #62 raised:

undefined method `ellided_name' for #<ActionView::Base:0x101fabf70>
Extracted source (around line #62):

59:        value="<%=@dojo.name-%>" />
60: 
61: <h1 title="<%= @dojo.name-%>">   
62:   <%= ellided_name(@dojo.name, 40) %>
63: </h1>
64: 
65: <table align="center">

The source code can be seen here: https://github.com/meekrosoft/cyberdojo

  • 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-05-23T05:13:26+00:00Added an answer on May 23, 2026 at 5:13 am

    Your vendor directory has a bunch of symlinks to /usr/share/rails. That’s probably why it’s working on some servers (because on those servers those symlinks are working) and not on others.

    Your helpers aren’t working because they should be within modules, so app/helpers/ellided_name.rb should have:

    module EllidedName
      # code you have in the file now
    end
    

    I’m guessing that some older version of Rails (the one you have in /usr/share/rails on your servers) allowed the non-module syntax.

    Warning based on the 2.1.0 in your config/environments.rb this app has been around for a long time, and if the /usr/share/rails version is anywhere close to 2.1 then this will be the first of many problems you’ll have trying to run this app as-is in 2.3.

    Update

    The OP discovered a gap in my recommendation, I’m just adding it here for anyone who finds this in google – he also needed to add the _helper suffix to the filenames, so as well as adding the module wrappers within the files he had to change app/helpers/ellided_name.rb to app/helpers/ellided_name_helper.rb and (he didn’t say, but I’m sure) the module name needed to reflect this, so EllidedNameHelper instead of just EllidedName

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

Sidebar

Related Questions

I have a Rails application that unfortunately after a request to a controller, has
I have two rails application running at different ports. First at 3000 and the
We have a Rails application that is running in a MySQL master-slave set-up for
I currently have a Rails 3.1 app that hosts multiple sites for several different
I have a Rails application that in the erb code, I use a select
I have a rails application that about 3 years old, and I'm having a
I have a Rails application that uses ActiveRecordStore for sessions. I need a PHP
I have a Rails application that lists information about local services. My objectives for
I have a rails application that allows searches using longitude and latitude. I have
I have a rails application deployed that works fine in Safari, Firefox, and Opera.

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.