Sha256: 697f07c1924e720bed5725bd9e0f694eea2b85fdbe9f298c82483d936d800f0b

Contents?: true

Size: 519 Bytes

Versions: 65

Compression:

Stored size: 519 Bytes

Contents

# == Schema Information
#
# Table name: todo_items
#
#  id           :integer          not null, primary key
#  position     :integer
#  task         :string
#  created_at   :datetime         not null
#  updated_at   :datetime         not null
#  todo_list_id :integer          not null
#
# Indexes
#
#  index_todo_items_on_todo_list_id  (todo_list_id)
#
# Foreign Keys
#
#  todo_list_id  (todo_list_id => todo_lists.id)
#
class TodoItem < ApplicationRecord
  belongs_to :todo_list
  acts_as_list scope: :todo_list
end

Version data entries

65 entries across 65 versions & 1 rubygems

Version Path
rails_app_generator-0.2.10 after_templates/addons/acts_as_list/app/models/todo_item.rb
rails_app_generator-0.2.9 after_templates/addons/acts_as_list/app/models/todo_item.rb
rails_app_generator-0.2.8 after_templates/addons/acts_as_list/app/models/todo_item.rb
rails_app_generator-0.2.7 after_templates/addons/acts_as_list/app/models/todo_item.rb
rails_app_generator-0.2.6 after_templates/addons/acts_as_list/app/models/todo_item.rb
rails_app_generator-0.2.5 after_templates/addons/acts_as_list/app/models/todo_item.rb
rails_app_generator-0.2.4 after_templates/addons/acts_as_list/app/models/todo_item.rb
rails_app_generator-0.2.3 after_templates/addons/acts_as_list/app/models/todo_item.rb
rails_app_generator-0.2.2 after_templates/addons/acts_as_list/app/models/todo_item.rb
rails_app_generator-0.2.1 after_templates/addons/acts_as_list/app/models/todo_item.rb
rails_app_generator-0.2.0 after_templates/addons/acts_as_list/app/models/todo_item.rb
rails_app_generator-0.1.28 after_templates/addons/acts_as_list/app/models/todo_item.rb
rails_app_generator-0.1.27 after_templates/addons/acts_as_list/app/models/todo_item.rb
rails_app_generator-0.1.26 after_templates/addons/acts_as_list/app/models/todo_item.rb
rails_app_generator-0.1.25 after_templates/addons/acts_as_list/app/models/todo_item.rb
rails_app_generator-0.1.24 after_templates/addons/acts_as_list/app/models/todo_item.rb
rails_app_generator-0.1.23 after_templates/addons/acts_as_list/app/models/todo_item.rb
rails_app_generator-0.1.22 after_templates/addons/acts_as_list/app/models/todo_item.rb
rails_app_generator-0.1.21 after_templates/addons/acts_as_list/app/models/todo_item.rb
rails_app_generator-0.1.20 after_templates/addons/acts_as_list/app/models/todo_item.rb