@Downgoat Look up ActiveRecord and JBuilder, add a new file in the app/views/stories, make it return what you want. Use the other .jbuilder files as examples.
Add a new route in routes.rb.
It should be really simple, you just chain together collection method calls
like Story.where(school_id: params["school_id"].to_i) returns stories by school, where school id is specified in query string ?school_id=1 or whatever
Yahoo is pretty big in China. However, Yahoo China is also involved in some major censorship programs.
> Yahoo!, along with Google China, Microsoft, Cisco, AOL, Skype, Nortel and others, has cooperated with the Communist Party of China in implementing a system of Internet censorship in mainland China.
<HTML><HEAD><meta http-equiv="content-type" content="text/html;charset=utf-8">
<TITLE>301 Moved</TITLE></HEAD><BODY>
<H1>301 Moved</H1>
The document has moved
<A HREF="http://www.google.com/">here</A>.
</BODY></HTML>
@mınxomaτ I think ^ explains why it wasn't working.
@Dennis A whole bunch of stuff that comes with a complete webpage, but that's not intresting to the discussion. curl -L google.com does something similar.
Language design challenge! You have one week (starting from the time I post this message) to design an esolang. The esolang must use only the numeric characters 0123456789. Other characters should be ignored. Reply to this message with an link to an implementation and specification of your language. After a week, I'll select a question at random. The shortest answer on the question in a submitted language wins a 150 bounty. The winner will be selected 1 month after this challenge closes.
@Dennis I suppose it would be based on the esolangs submitted. I wouldn't choose something that would be too easy, but something that would give the esolangs a chance to shine. in the case of the only submitted one, there is no place where it could shine, except maybe on a numeric restricted source problem