hamlc を使用して、バックボーン テンプレートで time_ago_in_words などの Rails 標準メソッドを使用する方法はありますか? これを試したところ
.created_at= time_ago_in_words e.created_at
例外をスローします
Uncaught ReferenceError: time_ago_in_words is not defined
hamlc を使用して、バックボーン テンプレートで time_ago_in_words などの Rails 標準メソッドを使用する方法はありますか? これを試したところ
.created_at= time_ago_in_words e.created_at
例外をスローします
Uncaught ReferenceError: time_ago_in_words is not defined