Coder Social home page Coder Social logo

activerecord-yelp-exercises's People

Contributors

dependabot[bot] avatar j-shilling avatar lizbur10 avatar maxwellbenton avatar notnotdrew avatar paulnicholsen27 avatar rrcobb avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

activerecord-yelp-exercises's Issues

Spec tests for solution branch don't match the master branch

Hi! Firstly, it's taken me way too long to submit this issue; I just realized this is way simpler to fix than I originally thought:

The spec tests in the solution branch don't match the spec tests in the master branch. In particular, there's a test missing from the DishTag model that makes it impossible to pass one of the validation deliverables.

I don't think it matters specifically which one; simply porting the spec tests from the solution branch to the master branch would fix the issue.

Thank you!

Unable to deploy repo to students from Learn.co/curriculum

Received the following error when trying to deploy this lab:

Source Repo Does Not Exist โŒ
Reason For Failure: Fatal: Couldn't Find Remote Ref Refs/Heads/Pin-Ar-Version Unexpected End Of Command Stream

Error Information from deployment summary email:

Deploy error
DeployRepo::SourceRepoNotFoundError: fatal: Couldn't find remote ref refs/heads/pin-ar-version Unexpected end of command stream
Root error
DeployRepo::GitCommandError

Backtrace
/var/app/releases/20191127160104/app/services/curriculum/deploy_repo.rb:152:in block in run' /usr/local/rvm/rubies/ruby-2.5.3/lib/ruby/2.5.0/open3.rb:205:in popen_run'
/usr/local/rvm/rubies/ruby-2.5.3/lib/ruby/2.5.0/open3.rb:95:in popen3' /var/app/releases/20191127160104/app/services/curriculum/deploy_repo.rb:144:in run'
/var/app/releases/20191127160104/app/services/curriculum/deploy_repo.rb:160:in block in pull_source_repo' /var/app/releases/20191127160104/app/services/curriculum/deploy_repo.rb:160:in each'
/var/app/releases/20191127160104/app/services/curriculum/deploy_repo.rb:160:in pull_source_repo' /var/app/releases/20191127160104/app/services/curriculum/deploy_repo.rb:37:in block (2 levels) in class:DeployRepo'
/usr/local/rvm/rubies/ruby-2.5.3/lib/ruby/2.5.0/tmpdir.rb:89:in mktmpdir' /var/app/releases/20191127160104/app/services/curriculum/deploy_repo.rb:35:in block in class:DeployRepo'
/var/app/releases/20191127160104/app/services/base_service.rb:223:in instance_eval' /var/app/releases/20191127160104/app/services/base_service.rb:223:in call'
/var/app/releases/20191127160104/app/services/base_service.rb:197:in block in execute_with_metrics' /var/app/releases/20191127160104/app/wrappers/statsd_wrapper.rb:16:in timing_with_block'
/var/app/releases/20191127160104/app/services/base_service.rb:195:in execute_with_metrics' /var/app/releases/20191127160104/app/services/base_service.rb:102:in execute'
/var/app/releases/20191127160104/app/services/curriculum/deploy_assigned_repo.rb:28:in block in <class:DeployAssignedRepo>' /var/app/releases/20191127160104/app/services/base_service.rb:223:in instance_eval'
/var/app/releases/20191127160104/app/services/base_service.rb:223:in call' /var/app/releases/20191127160104/app/services/base_service.rb:197:in block in execute_with_metrics'
/var/app/releases/20191127160104/app/wrappers/statsd_wrapper.rb:16:in timing_with_block' /var/app/releases/20191127160104/app/services/base_service.rb:195:in execute_with_metrics'
/var/app/releases/20191127160104/app/services/base_service.rb:102:in execute' /var/app/releases/20191127160104/app/workers/deploy_assigned_repo_worker.rb:8:in execute_service'
/var/app/releases/20191127160104/app/workers/base_worker.rb:8:in block in work' /var/app/shared/vendor/bundle/ruby/2.5.0/gems/activerecord-4.2.11.1/lib/active_record/connection_adapters/abstract/connection_pool.rb:292:in with_connection'
/var/app/releases/20191127160104/app/workers/base_worker.rb:7:in work' /var/app/shared/vendor/bundle/ruby/2.5.0/bundler/gems/sneakers-396c63b521be/lib/sneakers/worker.rb:59:in block (3 levels) in do_work'
/var/app/shared/vendor/bundle/ruby/2.5.0/bundler/gems/sneakers-396c63b521be/lib/sneakers/metrics/statsd_metrics.rb:14:in timing' /var/app/shared/vendor/bundle/ruby/2.5.0/bundler/gems/sneakers-396c63b521be/lib/sneakers/worker.rb:55:in block (2 levels) in do_work'
/usr/local/rvm/rubies/ruby-2.5.3/lib/ruby/2.5.0/timeout.rb:93:in block in timeout' /usr/local/rvm/rubies/ruby-2.5.3/lib/ruby/2.5.0/timeout.rb:103:in timeout'
/var/app/shared/vendor/bundle/ruby/2.5.0/bundler/gems/sneakers-396c63b521be/lib/sneakers/worker.rb:54:in block in do_work' /var/app/shared/vendor/bundle/ruby/2.5.0/gems/thread-0.1.7/lib/thread/pool.rb:56:in execute'
/var/app/shared/vendor/bundle/ruby/2.5.0/gems/thread-0.1.7/lib/thread/pool.rb:404:in block (2 levels) in spawn_thread' /var/app/shared/vendor/bundle/ruby/2.5.0/gems/thread-0.1.7/lib/thread/pool.rb:371:in loop'
/var/app/shared/vendor/bundle/ruby/2.5.0/gems/thread-0.1.7/lib/thread/pool.rb:371:in block in spawn_thread' /var/app/shared/vendor/bundle/ruby/2.5.0/gems/logging-2.2.2/lib/logging/diagnostic_context.rb:474:in block in create_with_logging_context'

Unable to Create Models

Tried to create models by running:
rails g model tag name:string and
rails g resource tags name:string

Was met with error message:
-Usage list
-Options list
-Runtime options
-Rails options
-Description
-Example: rails new ~/Code/Ruby/weblog

Can create relationships between models after runing rails new yelp in terminal, so the issue lies in the learn lab, not my computer.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.