Sha256: 157837eb5ca58f8899a3fe0d5981614fa467063e4451489c474715ba8c441bd7
Contents?: true
Size: 750 Bytes
Versions: 2
Compression:
Stored size: 750 Bytes
Contents
image_request = Tasks::Taskables::Image::Request.create! text: 'Upload a picture' task = Tasks::Task.create! taskable: image_request url_request = Tasks::Taskables::URL::Request.create! text: 'Specify a URL' task = Tasks::Task.create! taskable: url_request text_request = Tasks::Taskables::Text::Request.create! text: 'Write something' task = Tasks::Task.create! taskable: text_request question = Tasks::Taskables::Question.create! text: 'Choose something' option = Tasks::Taskables::Question::Option.create! question: question, text: 'One option' option = Tasks::Taskables::Question::Option.create! question: question, text: 'Another option' task = Tasks::Task.create! taskable: question
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
tasuku-0.1.1 | lib/tasuku/seeds.rb |
tasuku-0.1.0 | lib/tasuku/seeds.rb |