Sha256: bd97a883a6e342ef8de4e8f681f7aa8222aa8dc17f48e0890fa7da4f28db6609

Contents?: true

Size: 267 Bytes

Versions: 2

Compression:

Stored size: 267 Bytes

Contents

module C80SocialNetworks
  class Type < ActiveRecord::Base

    before_validation { self.remove_image! if self._delete_image }
    mount_uploader :image, TypeIconUploader
    has_and_belongs_to_many :links#, :join_table => 'c80_social_networks_links_types'

  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
c80_social_networks-0.1.0.2 app/models/c80_social_networks/type.rb
c80_social_networks-0.1.0.1 app/models/c80_social_networks/type.rb