Petran
Petran

Reputation: 8047

Rails 4 humanizer gem error

I am trying to use humanizer gem on rails 4.0

class MyModel < ActiveRecord::Base
  include Humanizer
  require_human_on :create
end

and getting the following error.

uninitialized constant MyModel::Humanizer

Upvotes: 0

Views: 283

Answers (1)

dougiebuckets
dougiebuckets

Reputation: 2453

Was having the same issue.

Restarting the server should take care of it.

Upvotes: 2

Related Questions