{"id":16059127,"url":"https://github.com/gregmolnar/spree_reviews","last_synced_at":"2026-05-13T09:35:00.686Z","repository":{"id":15535526,"uuid":"18270199","full_name":"gregmolnar/spree_reviews","owner":"gregmolnar","description":null,"archived":false,"fork":false,"pushed_at":"2014-03-30T18:14:16.000Z","size":352,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-02T01:18:34.947Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"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/gregmolnar.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":"2014-03-30T18:14:09.000Z","updated_at":"2014-03-30T18:14:16.000Z","dependencies_parsed_at":"2022-09-10T11:32:00.907Z","dependency_job_id":null,"html_url":"https://github.com/gregmolnar/spree_reviews","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/gregmolnar/spree_reviews","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gregmolnar%2Fspree_reviews","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gregmolnar%2Fspree_reviews/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gregmolnar%2Fspree_reviews/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gregmolnar%2Fspree_reviews/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/gregmolnar","download_url":"https://codeload.github.com/gregmolnar/spree_reviews/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gregmolnar%2Fspree_reviews/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32976680,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-13T06:31:55.726Z","status":"ssl_error","status_checked_at":"2026-05-13T06:31:51.336Z","response_time":115,"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":"2024-10-09T03:41:53.286Z","updated_at":"2026-05-13T09:35:00.647Z","avatar_url":"https://github.com/gregmolnar.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"Reviews\n=======\n\nStraightforward review/rating facility\n\nPlease see TODO file\n\n\nInstallation\n------------\n\nTo use the last stable gem release of spree_reviews, add the following to your Gemfile:\n\n    gem 'spree_reviews'\n    \nIf you'd rather install the latest version with fixes and improvements that have not yet been published to RubyGems, install from git:\n\n    gem 'spree_reviews', :git =\u003e 'git://github.com/spree/spree_reviews.git'\n\nNow bundle up with:\n\n    bundle\n    \nNext, run the rake task that copies the necessary migrations and assets to your project:\n\n    rails g spree_reviews:install\n    \nAnd finish with a migrate:\n\n    rake db:migrate\n    \nNow you should be able to boot up your server with:\n\n    rails s\n    \n    \nThat's all!\n\n\n\nUsage\n-----\n\nAction \"submit\" in \"reviews\" controller - goes to review entry form\n\nUsers must be logged in to submit a review\n\nThree partials:\n - ./app/views/products/_rating.html.erb  -- display number of stars\n - ./app/views/products/_shortrating.html.erb -- shorter version of above\n - ./app/views/products/_review.html.erb  -- display a single review\n\nAdministrator can edit and/or approve and/or delete reviews.\n\n\nImplementation\n--------------\n\nreviews table is quite obvious - and note the \"approved\" flag which is for the\nadministrator to update\n\nratings table holds current fractional value - avoids frequent recalc...\n\n\nDiscussion\n----------\n\nSome points which might need modification in future:\n - I don't track the actual user on a review (just their \"screen name\" at the \n   time), but we may want to use this information to avoid duplicate reviews\n   etc.\n\n - Rating votes are tied to a review, to avoid spam. However: ratings are \n   accepted whether or not the review is accepted. Perhaps they should only \n   be counted when the review is approved.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgregmolnar%2Fspree_reviews","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgregmolnar%2Fspree_reviews","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgregmolnar%2Fspree_reviews/lists"}