5 ms·
I notice you have "versioning" on your todo list. I would personally implement that similar to how GitHub handles Gists: make each snippet a DVCS repo with 1 o
by stephenr 10y ago
I notice you have "versioning" on your todo list.
I would personally implement that similar to how GitHub handles Gists: make each snippet a DVCS repo with 1 or more files in it.
That provides both the versioning functionality, and opens up the possibility for client-side editing using a well-known model (clone repo, make changes, commit, push).
- SalGnt 10y agoI don't know if Rails allows to do this, but I'll try, thanks.
- mordocai 10y agoIt definitely can, though it won't be as easy as just storing text blobs in the database like is the default rails way.
- aaronbrethorst 10y agoWell, seeing how GitHub does it... https://rubygems.org/gems/git/ https://rubygems.org/gems/git/
- SalGnt 10y agoAwesome!