Sha256: 1faccc61668dbfdecf432a56537cacaf1c3aa01d807f5c0ab8ff45f2e9dbe9dc

Contents?: true

Size: 436 Bytes

Versions: 4

Compression:

Stored size: 436 Bytes

Contents

=begin
  @Name    Categorization model
  @Created at :12-06-2012
  @Updated at  :12-06-2012
  @Purpose :Needed for initailizing activerecord for blog_categories_blog_posts table in rails
  @Company  : Mindfire Solutions
=end
class Categorization < ActiveRecord::Base
  
  #Setting table name  
  self.table_name = 'mcms_blog_categories_blog_posts'

  #Defining model associations
  belongs_to :blog_post
  belongs_to :blog_category
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
mcms_blog-1.0.0 app/models/categorization.rb
mcms_blog-0.0.4 app/models/categorization.rb
mcms_blog-0.0.3 app/models/categorization.rb
mcms_blog-0.0.2 app/models/categorization.rb