Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
(defmodel User
:username
:password)
(defmodel Comment
:text
[:belongs-to User])
(defmodel Post
:text
:title
[:belongs-to User]
[:has-many Comment])
(scaffold-app blog-app
:models [Comment Post User]
:index (list-view Post))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.