adhoq icon indicating copy to clipboard operation
adhoq copied to clipboard

"undefined method human" error

Open bitcoder opened this issue 9 years ago • 1 comments

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)

bitcoder avatar Jun 11 '15 08:06 bitcoder

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.

moro avatar Jun 11 '15 14:06 moro