{"id":29955044,"url":"https://github.com/foca/sequel_on_connect","last_synced_at":"2025-08-03T17:09:33.907Z","repository":{"id":568611,"uuid":"200019","full_name":"foca/sequel_on_connect","owner":"foca","description":"Run callbacks after connecting to a database using the Sequel database toolkit","archived":false,"fork":false,"pushed_at":"2009-05-13T17:27:08.000Z","size":72,"stargazers_count":4,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2023-04-10T10:20:05.384Z","etag":null,"topics":[],"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/foca.png","metadata":{"files":{"readme":"README.rdoc","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}},"created_at":"2009-05-13T17:26:41.000Z","updated_at":"2014-06-15T05:34:09.000Z","dependencies_parsed_at":"2022-07-08T02:00:31.811Z","dependency_job_id":null,"html_url":"https://github.com/foca/sequel_on_connect","commit_stats":null,"previous_names":[],"tags_count":0,"template":null,"template_full_name":null,"purl":"pkg:github/foca/sequel_on_connect","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/foca%2Fsequel_on_connect","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/foca%2Fsequel_on_connect/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/foca%2Fsequel_on_connect/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/foca%2Fsequel_on_connect/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/foca","download_url":"https://codeload.github.com/foca/sequel_on_connect/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/foca%2Fsequel_on_connect/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":268578914,"owners_count":24273089,"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","status":"online","status_checked_at":"2025-08-03T02:00:12.545Z","response_time":2577,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":"2025-08-03T17:09:20.371Z","updated_at":"2025-08-03T17:09:33.895Z","avatar_url":"https://github.com/foca.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"= Sequel.on_connect\n\nRun code immediately after a database connection has been established.\n\n== How to use?\n\n    require \"sequel\"\n    require \"sequel_on_connect\"\n\n    Sequel.on_connect do\n      require \"my_models\"\n    end\n    \n    Sequel.connect(\"sqlite::memory:\")\n\n== Why?\n\n`Sequel` requires you to establish a connection *before* loading your\nmodel classes. If, for some reason, you can't establish a connection\nbefore loading your classes, then this will allow you to require them\nimmediately after you connect to the database.\n\n== Credits\n\nAuthor::  Nicolás Sanguinetti\nLicense:: Released under an MIT license. Check LICENSE for details.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffoca%2Fsequel_on_connect","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffoca%2Fsequel_on_connect","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffoca%2Fsequel_on_connect/lists"}