Skip to content

Instantly share code, notes, and snippets.

@nbashaw
Last active December 25, 2015 15:19
Show Gist options
  • Save nbashaw/6997333 to your computer and use it in GitHub Desktop.
Save nbashaw/6997333 to your computer and use it in GitHub Desktop.

Whiteboard

Whiteboard lets you create new rails apps insanely fast. Instead of going through all your configuration one step at a time in your terminal, with Whiteboard you just write everything once, then run it.

setup do
  rails_version '4.0.0'
  app_name 'dash'
  db 'postgres'
end


models do

  model 'user' do
    field :name, :string
    field :email, :string
  end

  model :post do
    field :user, :references
    field :title, :string
    field :body, :text
  end

end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment