{"id":43062942,"url":"https://github.com/coderhs/rails-storage-example","last_synced_at":"2026-01-31T12:18:44.239Z","repository":{"id":325737834,"uuid":"1099943000","full_name":"coderhs/rails-storage-example","owner":"coderhs","description":"Example Rails app with activestorage","archived":false,"fork":false,"pushed_at":"2025-11-23T03:32:36.000Z","size":79,"stargazers_count":0,"open_issues_count":1,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-11-23T05:21:44.047Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"HTML","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/coderhs.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2025-11-19T16:28:46.000Z","updated_at":"2025-11-23T03:32:40.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/coderhs/rails-storage-example","commit_stats":null,"previous_names":["coderhs/rails-storage-example"],"tags_count":null,"template":false,"template_full_name":null,"purl":"pkg:github/coderhs/rails-storage-example","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/coderhs%2Frails-storage-example","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/coderhs%2Frails-storage-example/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/coderhs%2Frails-storage-example/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/coderhs%2Frails-storage-example/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/coderhs","download_url":"https://codeload.github.com/coderhs/rails-storage-example/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/coderhs%2Frails-storage-example/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28942296,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-31T12:10:04.904Z","status":"ssl_error","status_checked_at":"2026-01-31T12:09:58.894Z","response_time":128,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2026-01-31T12:18:43.641Z","updated_at":"2026-01-31T12:18:44.234Z","avatar_url":"https://github.com/coderhs.png","language":"HTML","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Active Storage Test App\n\nA Rails 8.1 application demonstrating Active Storage file uploads with Turbo Streams for real-time UI updates.\n\n## Features\n\n- File upload with Active Storage\n- Real-time updates using Turbo Streams (no page refresh)\n- Display of uploaded files with download links\n- Visibility into Active Storage internals:\n  - Attachments table (`active_storage_attachments`)\n  - Blobs table (`active_storage_blobs`)\n\n## Requirements\n\n- Ruby 3.x\n- Rails 8.1\n- SQLite3\n\n## Setup\n\n```bash\n# Install dependencies\nbundle install\n\n# Setup database\nbin/rails db:create db:migrate\n\n# Start the server\nbin/rails server\n```\n\nVisit `http://localhost:3000` to use the application.\n\n## Usage\n\n1. Enter a name for your upload\n2. Select a file\n3. Click \"Upload\"\n\nThe file will be uploaded and all three tables will update instantly without page refresh:\n- **Uploaded Files** - Your Upload records with file download links\n- **Active Storage Attachments** - The join table linking records to blobs\n- **Active Storage Blobs** - File metadata (filename, content type, size, checksum)\n\n## Project Structure\n\n- `app/models/upload.rb` - Upload model with `has_one_attached :file`\n- `app/controllers/uploads_controller.rb` - Handles CRUD with Turbo Stream responses\n- `app/views/uploads/` - Views and Turbo Stream templates\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcoderhs%2Frails-storage-example","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcoderhs%2Frails-storage-example","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcoderhs%2Frails-storage-example/lists"}