Sha256: 8916bdb849483e361ed2bba27663acaf86ad6e27f036cdeef10c2ba3fdc646f4
Contents?: true
Size: 242 Bytes
Versions: 2
Compression:
Stored size: 242 Bytes
Contents
class Post < ActiveRecord::Base belongs_to :author, :class_name => 'User' belongs_to :category accepts_nested_attributes_for :author attr_accessible :author_id, :body, :category_id, :published_at, :title attr_accessible :author end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
activeadmin-axlsx-2.1.2 | spec/rails/rails-3.2.9/app/models/post.rb |
activeadmin-axlsx-1.0.0a | spec/rails/rails-3.2.8/app/models/post.rb |