Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

"undefined method human" error #46

Open
bitcoder opened this issue Jun 11, 2015 · 1 comment
Open

"undefined method human" error #46

bitcoder opened this issue Jun 11, 2015 · 1 comment

Comments

@bitcoder
Copy link

Hi.
After trying to mount this and use it in a project, I get this error:
"NoMethodError at /q/1
undefined method `human' for #<#Class:0x007f8b1c39e208:0x007f8b11e132c0>"

The issue is in line 29 of _query.html.slim, namely:
th.created_at= human(Adhoq::Execution, :created_at)

@moro
Copy link
Contributor

moro commented Jun 11, 2015

Hmmm. This is difficult problem.

https://github.com/esminc/adhoq/blob/master/app/helpers/adhoq/application_helper.rb#L3 defines the method and I think it will go well. Please restart your server again to reset library loading.

As I said at other issues, I'm working to improve UI and editing code largely.
Please wait some and after #50, try it again.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants