class Article < ActiveRecord::Base
acts_as_paranoid
end
Article.features.paranoid? # => true
Article.attribute_features[:deleted_at].paranoia_timestamp? # => true
Gemfile
gem 'essay-paranoia', '~> 1.0'
Project
class Article < ActiveRecord::Base
acts_as_paranoid
end
Article.features.paranoid? # => true
Article.attribute_features[:deleted_at].paranoia_timestamp? # => true
gem 'essay-paranoia', '~> 1.0'