Sha256: 79910d15998aacbe906459542b33cbcb433744751aacfa1e2db8d7e0f482f818

Contents?: true

Size: 250 Bytes

Versions: 4

Compression:

Stored size: 250 Bytes

Contents

if using_postgresql?
  class CachedModelWithArray < ActiveRecord::Base
    acts_as_taggable
  end
  if postgresql_support_json?
    class TaggableModelWithJson < ActiveRecord::Base
      acts_as_taggable
      make_taggable :skills
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
make_taggable-0.6.6 spec/dummy/app/models/cached_model_with_array.rb
make_taggable-0.6.5 spec/dummy/app/models/cached_model_with_array.rb
make_taggable-0.6.4 spec/dummy/app/models/cached_model_with_array.rb
make_taggable-0.6.3 spec/dummy/app/models/cached_model_with_array.rb