Skip to content

Commit

Permalink
Require 'active_model'
Browse files Browse the repository at this point in the history
Apparently classes are lazily required when using autoload. Prompted by
'uninitialized constant ActiveModel::Validations'
  • Loading branch information
Will O'Brien committed Apr 26, 2013
1 parent df9677f commit 609fafe
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/validates_timeliness/validator.rb
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
require 'active_model'
require 'active_model/validator'

module ValidatesTimeliness
Expand Down

0 comments on commit 609fafe

Please sign in to comment.