class Account::Seeder attr_reader :account, :creator def initialize(account, creator) @account = account @creator = creator end def seed Current.set(user: creator, account: account) do populate end end def seed! raise "You can't run in production environments" unless Rails.env.local? delete_everything seed end private def populate # --------------- # Playground Board # --------------- playground = account.boards.create! name: "Playground", creator: creator, all_access: true playground.update! auto_postpone_period: 365.days # Cards playground.cards.create! creator: creator, title: "Finally, watch this Fizzy orientation video", status: "published", description: <<~HTML
There’s a whole lot more you can do in Fizzy. In the video below 37signals founder and CEO, Jason Fried, will walk you through the basics in just 8 minutes.
Open Fizzy menu, select “+ Add people”, then copy the invite link. You can give this link to someone else so they can make an login for themselves in your account.
Hit “1” or pull down the Fizzy menu and select “Home”.
Pull down the Fizzy menu at the top of the screen, and select “Assigned to me” or just hit “2” on your keyboard any time.
The Fizzy menu is how you get around the app. Click “Fizzy” at the top of the screen or hit the “J” key on your keyboard to pop it open.
Click the little head with the + next to it, pick yourself.
Click the little Tag icon, type “design”, then “Create tag”. Then, move the card to the new “YES” column you created in the previous step.
Go back to the Board view, click the little “+” to the right of the DONE column, name the column, pick a color, then do it again.
After that, drag this card to “DONE” or select “DONE” in the sidebar.
You can either select “NOT NOW” over in the sidebar, or you can go back out to the board view and drag this card into the “NOT NOW” column on the left side.