Sha256: 2d496e2c7daf335bd07cd58da5bd89384479c77eb76c1f95f984859c33d3d9e5
Contents?: true
Size: 351 Bytes
Versions: 33
Compression:
Stored size: 351 Bytes
Contents
class NewsFilter < ActiveRecord::Base # Having additional attributes on the join table of a has_and_belongs_to_many association is deprecated and will be removed in Rails 3.1. Please use a has_many :through association instead has_and_belongs_to_many :articles, :join_table => "articles_news_filters", :order => 'published_at DESC' end
Version data entries
33 entries across 33 versions & 1 rubygems