Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

Ruby

Missing helper error, how i fix that?

i run my server, it said the migration error and when i fixed it told me this: Missing helper file helpers//users///**/App_name/app/helpers/application_helper.rb_helper.rb (AbstractController::Helpers::MissingHelperError) i dont know how to fix it, any clues?

2 Answers

Hi Eduardo,

I came across this a few years ago and it took me ages to figure out. I thought the Ruby core had fixed the issue but maybe it still persists in some places.

My solution was to ensure the path to the app, including the app name, were all lowercase. That fixed it for me.

I'll see if I can find the Github thread on the same subject ... I'll post it if I do. I'm sure this is the same issue; my recollection may be incorrect.

I'll be back with more info ...

Steve.

Found it ... I even wrote a blog post about it on my company web page! Have a read here. There's a link to the Github page too.

Let me know how you get on.

Steve.

so, when we create a new app, i should write rails new app_new ?
what if i want to create a scaffold, should i put rails generate scaffold Post title:string or the 'Post' in lowercase? ok ill show what i did: rails new app_new cd app_new rails generate scaffold Post title:string rails db:migrate rails server and told me that... do you know what is the issue?

From memory, I just changed the folder name to be lowercase - the name of the app didn't change.

i update the ruby gems and now its working, thank you anyways