Sha256: 3931498fcc94959e648591a68e7a832155fa87bcb38e29283dc6fce893748eac

Contents?: true

Size: 340 Bytes

Versions: 16

Compression:

Stored size: 340 Bytes

Contents

module Dotclear
  class Post < ActiveRecord::Base
    set_table_name 'dc_post'
    set_primary_key 'post_id'
    establish_connection configurations['dc']
    has_many :comments, :foreign_key => 'post_id', :class_name => 'Dotclear::Comment'
    belongs_to :categorie, :foreign_key => 'cat_id', :class_name => 'Dotclear::Category'
  end
end

Version data entries

16 entries across 16 versions & 1 rubygems

Version Path
typo-5.5 vendor/plugins/typo_converter/lib/converters/dotclear/post.rb
typo-5.4.4 vendor/plugins/typo_converter/lib/converters/dotclear/post.rb
typo-5.4.3 vendor/plugins/typo_converter/lib/converters/dotclear/post.rb
typo-5.4.2 vendor/plugins/typo_converter/lib/converters/dotclear/post.rb
typo-5.4.1 vendor/plugins/typo_converter/lib/converters/dotclear/post.rb
typo-5.4 vendor/plugins/typo_converter/lib/converters/dotclear/post.rb
typo-5.0.3.98.1 vendor/plugins/typo_converter/lib/converters/dotclear/post.rb
typo-5.0.3.98 vendor/plugins/typo_converter/lib/converters/dotclear/post.rb
typo-5.1.1 vendor/plugins/typo_converter/lib/converters/dotclear/post.rb
typo-5.1.2 vendor/plugins/typo_converter/lib/converters/dotclear/post.rb
typo-5.1.3 vendor/plugins/typo_converter/lib/converters/dotclear/post.rb
typo-5.1.98 vendor/plugins/typo_converter/lib/converters/dotclear/post.rb
typo-5.1 vendor/plugins/typo_converter/lib/converters/dotclear/post.rb
typo-5.2 vendor/plugins/typo_converter/lib/converters/dotclear/post.rb
typo-5.2.98 vendor/plugins/typo_converter/lib/converters/dotclear/post.rb
typo-5.3 vendor/plugins/typo_converter/lib/converters/dotclear/post.rb