Giter Site home page Giter Site logo

rails3v5's Introduction

README

This README would normally document whatever steps are necessary to get the application up and running.

Things you may want to cover:

  • Ruby version

  • System dependencies

  • Configuration

  • Database creation

  • Database initialization

  • How to run the test suite

  • Services (job queues, cache servers, search engines, etc.)

  • Deployment instructions

  • ...

rails3v5's People

Contributors

ruprict avatar

Stargazers

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

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

rails3v5's Issues

The Tutorial is Broken

undefined method `stories_path' for #<#Class:0x00007feea8178f60:0x00007feea8192140>
Did you mean? stories_new_path

the above code is never actually solved.

After cross referencing enough times, there is a typo. Maybe because this is Rails 6.

I'll probably cancel my membership to SitePoint if this isn't fixed though. Very aggravating to purchase a defective product -- especially when it's a learning tool as it's difficult to know whether or not you have mistyped something or if it's the actual product.

Chapter 6: Controller test

I have been following along in the book and am trying to run the $ rails test:controllers command but my test is failing. I think its because the view isn't getting the story object properly?

Here is the output from the error message:

Run options: --seed 61443

# Running:

E

Error:
StoriesControllerTest#test_should_get_index:
ActionView::Template::Error: undefined method `name' for nil:NilClass
    app/views/stories/index.html.erb:2:in `_app_views_stories_index_html_erb___1312172176529221963_70288214234340'
    test/controllers/stories_controller_test.rb:5:in `block in <class:StoriesControllerTest>'


bin/rails test test/controllers/stories_controller_test.rb:4



Finished in 0.338105s, 2.9577 runs/s, 0.0000 assertions/s.

1 runs, 0 assertions, 0 failures, 1 errors, 0 skips

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.