{"id":15983223,"url":"https://github.com/donkirkby/active-sinatra","last_synced_at":"2025-05-07T06:41:10.614Z","repository":{"id":3663675,"uuid":"50468387","full_name":"donkirkby/active-sinatra","owner":"donkirkby","description":"Sandbox project for ActiveRecord and Sinatra web server, including test fixtures","archived":false,"fork":false,"pushed_at":"2025-03-11T03:33:33.000Z","size":49,"stargazers_count":5,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-31T07:21:54.849Z","etag":null,"topics":["activerecord","oracle","ruby","sandbox","sinatra"],"latest_commit_sha":null,"homepage":"","language":"Ruby","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/donkirkby.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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}},"created_at":"2016-01-27T00:05:28.000Z","updated_at":"2025-03-11T03:33:30.000Z","dependencies_parsed_at":"2024-10-08T01:41:20.182Z","dependency_job_id":"529a4f01-3f6b-4868-a52b-e77517fcfc91","html_url":"https://github.com/donkirkby/active-sinatra","commit_stats":null,"previous_names":["donkirkby/active-sinatra"],"tags_count":4,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/donkirkby%2Factive-sinatra","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/donkirkby%2Factive-sinatra/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/donkirkby%2Factive-sinatra/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/donkirkby%2Factive-sinatra/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/donkirkby","download_url":"https://codeload.github.com/donkirkby/active-sinatra/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":252830509,"owners_count":21810769,"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":["activerecord","oracle","ruby","sandbox","sinatra"],"created_at":"2024-10-08T01:41:14.727Z","updated_at":"2025-05-07T06:41:10.594Z","avatar_url":"https://github.com/donkirkby.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"# active_sinatra\nDemonstrates Sinatra web framework with ActiveRecord, including test fixtures\n\nTo set up the development database:\n\n    rake db:migrate\n    rake db:fixtures:load\n\nTo run the web server:\n\n    ruby app.rb\n\nThen hit the server in your browser at these addresses:\n\n* [http://localhost:4567](http://localhost:4567)\n* [http://localhost:4567/blogs](http://localhost:4567/blogs)\n* [http://localhost:4567/blogs/413685242](http://localhost:4567/blogs/413685242)\n* [http://localhost:4567/blogs/413685242/posts](http://localhost:4567/blogs/413685242/posts)\n* [http://localhost:4567/posts/807550412](http://localhost:4567/posts/807550412)\n\nTo set up the test database:\n\n    rake db:test:prepare\n\nTo run the tests:\n\n    rake\n\nTo run the app in a console so you can inspect records or create new ones:\n\n    $ irb -r ./app.rb \n    \u003e Blog.find_by_name(\"Jimmy's Jottings\").tagline\n    # =\u003e SQL log: SELECT \"blogs\".* FROM \"blogs\" WHERE \"blogs\".\"name\" = 'Jimmy''s Jottings' LIMIT 1\n    # =\u003e \"Stuff Jimmy says\" \n    \u003e Blog.create!(:name =\u003e \"Rob Rants\")\n    # =\u003e SQL log: begin transaction\n    # =\u003e SQL log: INSERT INTO \"blogs\" (\"name\") VALUES (?)  [[\"name\", \"Rob Rants\"]]\n    # =\u003e SQL log: commit transaction\n    # =\u003e #\u003cBlog id: 705406077, name: \"Rob Rants\", tagline: nil\u003e \n    \u003e \n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdonkirkby%2Factive-sinatra","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdonkirkby%2Factive-sinatra","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdonkirkby%2Factive-sinatra/lists"}