Coder Social home page Coder Social logo

quearch'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

  • ...

Please feel free to use a different markup language if you do not plan to run rake doc:app.

quearch's People

Contributors

freqn avatar

Watchers

 avatar

Forkers

ahmednadar

quearch's Issues

Certain words won't fetch subreddit when it exists

Despite the fact that the app runs find when fetching subreddits such as ruby, rails, free, etc, some words won't work even though they are valid subreddits. A good example is the word "spoon".

Heroku log from app :

2014-06-05T10:32:02.893263+00:00 heroku[router]: at=info method=GET path=/?utf8=%E2%9C%93&q=spoon&commit=Fetch host=lit-temple-1691.herokuapp.com request_id=9a48d28e-cd85-418c-95a4-98b45d7c2b51 fwd="24.209.204.140" dyno=web.1 connect=1ms service=97ms status=500 bytes=1754
2014-06-05T10:32:02.798227+00:00 app[web.1]: Started GET "/?utf8=%E2%9C%93&q=spoon&commit=Fetch" for 24.209.204.140 at 2014-06-05 10:32:02 +0000
2014-06-05T10:32:02.889383+00:00 app[web.1]:
2014-06-05T10:32:02.889386+00:00 app[web.1]: NoMethodError (undefined method `attributes' for nil:NilClass):
2014-06-05T10:32:02.889388+00:00 app[web.1]:   app/models/reddit_scraper.rb:34:in `fetch_reddit_headlines'
2014-06-05T10:32:02.889415+00:00 app[web.1]:
2014-06-05T10:32:02.889416+00:00 app[web.1]:
2014-06-05T10:32:02.889413+00:00 app[web.1]:   app/controllers/search_controller.rb:4:in `index'
2014-06-05T10:32:02.801849+00:00 app[web.1]: Processing by SearchController#index as HTML
2014-06-05T10:32:02.801930+00:00 app[web.1]:   Parameters: {"utf8"=>"โœ“", "q"=>"spoon", "commit"=>"Fetch"}
2014-06-05T10:32:02.888147+00:00 app[web.1]: Completed 500 Internal Server Error in 86ms

Locally:
screen shot 2014-06-05 at 6 41 50 am

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.