Sha256: 4257f29eadd8c7c506c59b3dee7762e7a1dc5e1ec3a6fd167d9b2e9aa8106467

Contents?: true

Size: 135 Bytes

Versions: 2

Compression:

Stored size: 135 Bytes

Contents

class Category < ActiveRecord::Base
  has_many :posts
  accepts_nested_attributes_for :posts
  attr_accessible :description, :name
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/category.rb
activeadmin-axlsx-1.0.0a spec/rails/rails-3.2.8/app/models/category.rb