Giter VIP home page Giter VIP logo

rails-static-request-readme's People

Stargazers

 avatar  avatar

Watchers

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

rails-static-request-readme's Issues

lab forks as a readme and not a lab

This lab forks/opens as a readme, and i cant find a rspec environment to test out of this lab.
The lab wont advance correctly or show completion.

Dynamic Routes

The lesson went over how to make a static route, but never goes into talking about dynamic route even though it has it in the title AND takes a moment to talk about the differences between static and dynamic.

Mention the rails directory the lesson refers to

No mention is made about the rails directory this lesson is working in. I am assuming it is the previous directory 'blog-flash', but it should be specified exactly in the lesson which repo we are working in.

Rails Server Bug

Hi there, I had to add the following items to my VSCode from the rails-static-request-readme lab for the server to boot up properly in this lab. Wanted to let you all know about it!

Inside: app/assets

Added this folder: config

In config folder, added this file: manifest.js

In manifest.js, added this code:

//= link_tree ../images
//= link_directory ../javascripts .js
//= link_directory ../stylesheets .css

I was receiving this error before I added that code:

=> Booting Puma
=> Rails 5.0.7.1 application starting in development on http://localhost:3000
=> Run rails server -h for more startup options
Exiting
Traceback (most recent call last):
34: from bin/rails:4:in <main>' 33: from bin/rails:4:in require'
32: from /Users/Moose/.rvm/gems/ruby-2.6.1/gems/railties-5.0.7.1/lib/rails/commands.rb:18:in <top (required)>' 31: from /Users/Moose/.rvm/gems/ruby-2.6.1/gems/railties-5.0.7.1/lib/rails/commands/commands_tasks.rb:49:in run_command!'
30: from /Users/Moose/.rvm/gems/ruby-2.6.1/gems/railties-5.0.7.1/lib/rails/commands/commands_tasks.rb:85:in server' 29: from /Users/Moose/.rvm/gems/ruby-2.6.1/gems/railties-5.0.7.1/lib/rails/commands/commands_tasks.rb:85:in tap'
28: from /Users/Moose/.rvm/gems/ruby-2.6.1/gems/railties-5.0.7.1/lib/rails/commands/commands_tasks.rb:90:in block in server' 27: from /Users/Moose/.rvm/gems/ruby-2.6.1/gems/railties-5.0.7.1/lib/rails/commands/server.rb:102:in start'
26: from /Users/Moose/.rvm/gems/ruby-2.6.1/gems/railties-5.0.7.1/lib/rails/commands/server.rb:148:in log_to_stdout' 25: from /Users/Moose/.rvm/gems/ruby-2.6.1/gems/rack-2.2.3/lib/rack/server.rb:422:in wrapped_app'
24: from /Users/Moose/.rvm/gems/ruby-2.6.1/gems/railties-5.0.7.1/lib/rails/commands/server.rb:84:in app' 23: from /Users/Moose/.rvm/gems/ruby-2.6.1/gems/rack-2.2.3/lib/rack/server.rb:249:in app'
22: from /Users/Moose/.rvm/gems/ruby-2.6.1/gems/rack-2.2.3/lib/rack/server.rb:349:in build_app_and_options_from_config' 21: from /Users/Moose/.rvm/gems/ruby-2.6.1/gems/rack-2.2.3/lib/rack/builder.rb:66:in parse_file'
20: from /Users/Moose/.rvm/gems/ruby-2.6.1/gems/rack-2.2.3/lib/rack/builder.rb:105:in load_file' 19: from /Users/Moose/.rvm/gems/ruby-2.6.1/gems/rack-2.2.3/lib/rack/builder.rb:116:in new_from_string'
18: from /Users/Moose/.rvm/gems/ruby-2.6.1/gems/rack-2.2.3/lib/rack/builder.rb:116:in eval' 17: from /Users/Moose/Development/Flatiron/labs/rails-static-request-readme-onl01-seng-ft-090820/config.ru:3:in block in

'
16: from /Users/Moose/Development/Flatiron/labs/rails-static-request-readme-onl01-seng-ft-090820/config.ru:3:in require' 15: from /Users/Moose/Development/Flatiron/labs/rails-static-request-readme-onl01-seng-ft-090820/config/environment.rb:5:in <top (required)>'
14: from /Users/Moose/.rvm/gems/ruby-2.6.1/gems/railties-5.0.7.1/lib/rails/application.rb:352:in initialize!' 13: from /Users/Moose/.rvm/gems/ruby-2.6.1/gems/railties-5.0.7.1/lib/rails/initializable.rb:54:in run_initializers'
12: from /Users/Moose/.rvm/rubies/ruby-2.6.1/lib/ruby/2.6.0/tsort.rb:205:in tsort_each' 11: from /Users/Moose/.rvm/rubies/ruby-2.6.1/lib/ruby/2.6.0/tsort.rb:226:in tsort_each'
10: from /Users/Moose/.rvm/rubies/ruby-2.6.1/lib/ruby/2.6.0/tsort.rb:347:in each_strongly_connected_component' 9: from /Users/Moose/.rvm/rubies/ruby-2.6.1/lib/ruby/2.6.0/tsort.rb:347:in call'
8: from /Users/Moose/.rvm/rubies/ruby-2.6.1/lib/ruby/2.6.0/tsort.rb:347:in each' 7: from /Users/Moose/.rvm/rubies/ruby-2.6.1/lib/ruby/2.6.0/tsort.rb:349:in block in each_strongly_connected_component'
6: from /Users/Moose/.rvm/rubies/ruby-2.6.1/lib/ruby/2.6.0/tsort.rb:431:in each_strongly_connected_component_from' 5: from /Users/Moose/.rvm/rubies/ruby-2.6.1/lib/ruby/2.6.0/tsort.rb:350:in block (2 levels) in each_strongly_connected_component'
4: from /Users/Moose/.rvm/rubies/ruby-2.6.1/lib/ruby/2.6.0/tsort.rb:228:in block in tsort_each' 3: from /Users/Moose/.rvm/gems/ruby-2.6.1/gems/railties-5.0.7.1/lib/rails/initializable.rb:55:in block in run_initializers'
2: from /Users/Moose/.rvm/gems/ruby-2.6.1/gems/railties-5.0.7.1/lib/rails/initializable.rb:30:in run' 1: from /Users/Moose/.rvm/gems/ruby-2.6.1/gems/railties-5.0.7.1/lib/rails/initializable.rb:30:in instance_exec'
/Users/Moose/.rvm/gems/ruby-2.6.1/gems/sprockets-rails-3.2.2/lib/sprockets/railtie.rb:106:in block in <class:Railtie>': Expected to find a manifest file in app/assets/config/manifest.js` (Sprockets::Railtie::ManifestNeededError)
But did not, please create this file and use it to link any assets that need
to be rendered by your app:

Example:
//= link_tree ../images
//= link_directory ../javascripts .js
//= link_directory ../stylesheets .css
and restart your server

For more information see: https://github.com/rails/sprockets/blob/070fc01947c111d35bb4c836e9bb71962a8e0595/UPGRADING.md#manifestjs

no files

it looks like this is more like a lab/code along not readme since it asks to open config/routes.rb file and add the following route inside of the draw block:

get 'about', to: 'static#about'

but there are no files to fork to follow along.

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.