{"id":14955509,"url":"https://github.com/aquaflamingo/ajax-sjr-example","last_synced_at":"2026-01-18T16:32:00.106Z","repository":{"id":43762577,"uuid":"277828204","full_name":"aquaflamingo/ajax-sjr-example","owner":"aquaflamingo","description":"Server generated JavaScript Response example in Rails","archived":false,"fork":false,"pushed_at":"2022-04-27T16:13:49.000Z","size":1098,"stargazers_count":0,"open_issues_count":16,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2024-09-27T15:20:12.886Z","etag":null,"topics":["on","rails","rails5","ruby"],"latest_commit_sha":null,"homepage":"","language":"Ruby","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/aquaflamingo.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}},"created_at":"2020-07-07T13:44:40.000Z","updated_at":"2022-02-19T05:52:36.000Z","dependencies_parsed_at":"2022-08-22T08:00:56.289Z","dependency_job_id":null,"html_url":"https://github.com/aquaflamingo/ajax-sjr-example","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aquaflamingo%2Fajax-sjr-example","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aquaflamingo%2Fajax-sjr-example/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aquaflamingo%2Fajax-sjr-example/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aquaflamingo%2Fajax-sjr-example/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/aquaflamingo","download_url":"https://codeload.github.com/aquaflamingo/ajax-sjr-example/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":219866189,"owners_count":16555829,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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":["on","rails","rails5","ruby"],"created_at":"2024-09-24T13:11:15.347Z","updated_at":"2024-10-10T04:23:04.526Z","avatar_url":"https://github.com/aquaflamingo.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"# AJAX Server Generated JS Rails Example\n\nThis repository contains sample code for a Rails Server Generated JavaScript Response (SJR).\n\n## Example\n\nThe `index` action contains a `_form` partial for submitting new notes remotely through an AJAX request. When the XHR request is submitted async the `NotesController` `create` action renders the `create.js.erb` template. This template searches the current HTML for an `id=notes_list` element, and appends to its HTML the newly saved note. Because this JavaScript is generated from the server and sent to the client, the client does not need to rerender the page or redirect it only needs to render the new note in its existing HTML.\n\n## Licence\nMIT\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faquaflamingo%2Fajax-sjr-example","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Faquaflamingo%2Fajax-sjr-example","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faquaflamingo%2Fajax-sjr-example/lists"}