Sha256: d601916fe267623360a1f42a5d63e850f4ea2c2c05f59ea5fa437238bcf7441a

Contents?: true

Size: 179 Bytes

Versions: 1

Compression:

Stored size: 179 Bytes

Contents

class Category < ActiveRecord::Base
  # attr_accessible :title, :body
  attr_accessor :has_children
  def child_record_ids
    ActiveSupport::JSON.decode self.child_ids
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
inkwell_timelines-1.0.0 test/dummy/app/models/category.rb