Sha256: d3c48aece5a3e39cee66291fe86748d7ff2791d7a82d58152e16e5b93dd8c016

Contents?: true

Size: 128 Bytes

Versions: 5

Compression:

Stored size: 128 Bytes

Contents

class ArticleWithOpposite < ActiveRecord::Base
  include ActAsTimeAsBoolean

  time_as_boolean :active, opposite: :inactive
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
act_as_time_as_boolean-1.0.1 spec/internal/app/models/article_with_opposite.rb
act_as_time_as_boolean-1.0.0.3 spec/internal/app/models/article_with_opposite.rb
act_as_time_as_boolean-1.0.0.2 spec/internal/app/models/article_with_opposite.rb
act_as_time_as_boolean-1.0.0.1 spec/internal/app/models/article_with_opposite.rb
act_as_time_as_boolean-1.0.0 spec/internal/app/models/article_with_opposite.rb