{"id":14956056,"url":"https://github.com/ooftypop/snoop_dogg","last_synced_at":"2025-10-08T18:28:03.029Z","repository":{"id":56896336,"uuid":"143159698","full_name":"ooftypop/snoop_dogg","owner":"ooftypop","description":"A nicer way to see Models","archived":false,"fork":false,"pushed_at":"2019-03-19T21:45:42.000Z","size":33,"stargazers_count":3,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-09-01T06:47:00.998Z","etag":null,"topics":["associations","console","gem","logging","models","organizing","pretty","print","printing","rails","readable","readable-code","relationships","ruby","ruby-gem","ruby-on-rails","rubygem","rubyonrails","snoop-dogg","sorting"],"latest_commit_sha":null,"homepage":"https://rubygems.org/gems/snoop_dogg","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/ooftypop.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"MIT-LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2018-08-01T13:27:05.000Z","updated_at":"2022-06-07T21:50:13.000Z","dependencies_parsed_at":"2022-08-21T01:50:38.874Z","dependency_job_id":null,"html_url":"https://github.com/ooftypop/snoop_dogg","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/ooftypop/snoop_dogg","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ooftypop%2Fsnoop_dogg","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ooftypop%2Fsnoop_dogg/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ooftypop%2Fsnoop_dogg/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ooftypop%2Fsnoop_dogg/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ooftypop","download_url":"https://codeload.github.com/ooftypop/snoop_dogg/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ooftypop%2Fsnoop_dogg/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":278586073,"owners_count":26011104,"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-10-06T02:00:05.630Z","response_time":65,"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":["associations","console","gem","logging","models","organizing","pretty","print","printing","rails","readable","readable-code","relationships","ruby","ruby-gem","ruby-on-rails","rubygem","rubyonrails","snoop-dogg","sorting"],"created_at":"2024-09-24T13:12:14.716Z","updated_at":"2025-10-08T18:28:02.998Z","avatar_url":"https://github.com/ooftypop.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Name\n  SnoopDogg\n\n\n\n# Description\n  SnoopDogg version '0.1.3' adds a powerful inspect-type method to Rails applications (i.e. 'snoop'). The 'snoop' method formats and\n  displays Model data in ways that human eyes can more easily digest. Simply put, SnoopDogg version '0.1.3' is a nicer way to see Models.\n\n\n\n# Usage\n  SnoopDogg is a nicer way to see Models\n\n## Simply call 'snoop' on a Model\n  - Call 'snoop' on any Model to view the Model's attributes printed out to the console\n  - The Model's attributes will be sorted, color coded, and printed to the console one line at a time\n  - The 'snoop' method can be called directly on the Model's class, this will print empty attributes to the console\n\n## Feed 'snoop' arguments to view a Model's associations too\n  - 'snoop' can take arguments in the form of keys matching a Model's associations\n  - If the association is one-to-one, 'snoop' will find the associated record and print it below it's parent\n  - If the association is one-to-many, 'snoop' will print every associated record matching that relationship\n  - 'snoop' is powerful, it can print out multiple associations at once | e.g. User.first.snoop(:address, :comments)\n\n\n\n# Installation\n  Add this line to your application's Gemfile:\n\n```ruby\ngem 'snoop_dogg'\n```\n\nAnd then execute:\n```bash\n$ bundle\n```\n\nOr install it yourself as:\n```bash\n$ gem install snoop_dogg\n```\n\n\n# Authors\n  - Kevin J. Storberg, Ooftypop Inc.\n\n\n\n# Contributing\n  We welcome collaboration on all of our open source projects.\n\n  When contributing to SnoopDogg, we ask that you:\n  - notify us of your intended contribution so we may provide feedback\n  - make a PR on Github with a short description of your changes\n  - update any relevant documentation\n\n\n\n# License\n  The gem is available as open source under the terms of the [MIT License](https://opensource.org/licenses/MIT).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fooftypop%2Fsnoop_dogg","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fooftypop%2Fsnoop_dogg","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fooftypop%2Fsnoop_dogg/lists"}