29 May '15, 7pm

#ruby #sinatra #mongodb Build a #mobile #soccer notifications app on #IBM #Bluemix

The first thing you need to do is load some Ruby gems that will help you fetch the data, parse the CSV content, and store it in the database. Make sure you have completely removed all code from the app.rb file and replaced it with that shown below. require 'net/http' require 'uri' require 'csv' require 'mongo' require 'sinatra' require 'json' include Mongo Next, add two configuration blocks. The first will run only in a development environment (you will connect to a Bluemix-hosted MongoDB database in production). The second will run regardless of the environment. configure :development do host = 'localhost' port = MongoClient::DEFAULT_PORT client = MongoClient.new(host, port) db = client.db('occer-data') set :coll, db.collection('scores') || db.create_collection('scores') end configure do set :csvUrl, "http://www.football-data.co.uk/mmz4281/1415/E0.csv" CSV::Converters[:da...

Full article: http://www.ibm.com/developerworks/mobile/library/mo-bluem...

Tweets

Push notification from a Ruby / Sinatra app on ...

ibm.com 02 Jun '15, 1am

The first thing you need to do is load some Ruby gems that will help you fetch the data, parse the CSV content, and store ...

Check out this app - https://t.co/4kouGnNWMC - built with https://t.co/4kouGnNWMC

Check out this app - https://t.co/4kouGnNWMC - ...

names.co.uk 29 May '15, 2pm

Complement your website with an app A website is your shop window, open 24/7/365. It can be found in search engines, and i...

Just wrote a blog to ssh into rails bluemix ser...

ravensnowbird.tumblr.com 30 May '15, 2pm

IBM BlueMix Ruby on Rails Migration I saw a few tutorials on IBM blue mix nothing is in once place , so i created this to ...

IBM Watson's Recent Acquisitions Might Make It ...

spectrum.ieee.org 29 May '15, 10pm

IBM Watson has been buying some interesting companies and technologies lately: Cognea , a company that had developed a “co...

@MVRmedia According to this app 118

starbucks.com 30 May '15, 8pm

Can't get a list of stores right now. Maps are not available right now. The location service is not available right now. D...

IBM Watson's Recent Acquisitions Might Make It ...

spectrum.ieee.org 29 May '15, 12pm

IBM Watson has been buying some interesting companies and technologies lately: Cognea , a company that had developed a “co...

Daily Deal: Stuk.io Build Your Dream Apps with ...

techdirt.com 29 May '15, 5pm

If you've always wanted to learn how to build your own app, Ruby on Rails is great way to start for beginners with its sim...

#IBM Watson's Recent Acquisitions Might Make It...

spectrum.ieee.org 29 May '15, 2pm

IBM Watson has been buying some interesting companies and technologies lately: Cognea , a company that had developed a “co...

IBM Watson's Recent Acquisitions Make It a Know...

spectrum.ieee.org 30 May '15, 8am

IBM Watson has been buying some interesting companies and technologies lately: Cognea , a company that had developed a “co...

Just contributed $25 @indiegogo to help @NicoSc...

indiegogo.com 31 May '15, 10pm

Sustainability Over the past year, I have been working on RailsBricks when time allows. That means after coming back home ...

Diaspora was first build with Ruby on Rails and...

sarahmei.com 06 Jun '15, 8am

I love this article. I have been at development and databases for 30 years and there is always the latest and greatest thi...

तमिल भाषा के लिए सिंगापुर ने लॉन्च किया App #ap...

aajtak.intoday.in 31 May '15, 5am

new mobile app for tamil language in singapore Keyword : tamil language, singapore, mobile app, online, digital dictionary

IBM’s Dr. Watson Will See You...Someday via @IE...

spectrum.ieee.org 30 May '15, 8am

Four years ago, Neil Mehta was among the 15 million people who watched Ken Jennings and Brad Rutter—the world’s greatest “...