question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

undefined local variable or method `filepicker_js_include_tag'

See original GitHub issue

Hello, I recently added the filepicker-rails gem to a Rails 4.0.2 project. It appears that the view helpers are not being included properly as I end up getting an ‘undefined local variable or method’ error for any of the helpers in FilepickerRails::ApplicationHelper.

The form helpers appear to be working fine however.

Issue Analytics

  • State:closed
  • Created 10 years ago
  • Comments:19 (9 by maintainers)

github_iconTop GitHub Comments

1reaction
dylanjhacommented, Jan 13, 2014

put this in ApplicationController:

helper FilepickerRails::Engine.helpers http://edgeapi.rubyonrails.org/classes/Rails/Engine.html#label-Isolated+engine's+helpers

0reactions
maurogeorgecommented, Oct 24, 2014

@Oshuma ok, I will keep this bug closed, since no more people have the problem on the 1.2. I guess it is better you add the helpers for now.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Ruby - Undefined Local Variable or Method - Stack Overflow
I'm under the impression that I already defined the method in my code. Can anyone tell where I've gone wrong? ruby · function...
Read more >
undefined local variable or method `contact' for main:Object ...
NameError : undefined local variable or method `contact' for main:Object. undefined contact. contact.rb. contact_list = [] contact = {"name" ...
Read more >
undefined local variable or method `before_add_for' for Class
I'm updating from 7.0.0.alpha2 to 7.0.3. I just ran the update scripts and I'm now getting NameError (undefined local variable or method ...
Read more >
1926100 – undefined local variable or method ...
Bug 1926100 - undefined local variable or method `foreman_inventory_upload_index_path' error while trying to download report.
Read more >
Understanding the “NameError: undefined local variable or ...
She asked what the error message means and what it has to do with how Ruby does local variable and method lookup. This...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found