railsinspire
railsinspire copied to clipboard
A curated collection of code samples from Ruby on Rails projects.
Allow a sample to be embedded in other sites. Should this be iframe or JS widget? Switch to server-side syntax highlighting before doing this.
Add comments to samples - [ ] Add Comment model with body, hidden_at (or flagged_at), and user association - [ ] Add ability to add, edit, and soft-delete your own...
Allow file contents to be copied to clipboard.
Allow users to create their own public or private collections of Samples. - [ ] Add Collection with name, description, status, and user association - [ ] Add CollectionItem associated...
Allow Samples to be starred (favorited) by users. - [ ] Add Star model, associated with sample and user - [ ] Add star count (counter cache) to Sample -...
Multi-model search (in navbar) with rich autosuggest results. - [ ] Add multi model search of paths, categories, sample files and files - [ ] Add autosuggest drop down ###...
Automatically detect Ruby and JS libraries used in code samples and add as metadata, then allow for browsing samples by library. - [ ] Add Library model with name, slug,...