Rails サンプル:MessagePack
Switch branches/tags
Nothing to show
Clone or download
Pull request Compare This branch is even with usutani:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
app
bin
config
db
lib
log
public
test
vendor/assets
.gitignore
Gemfile
Gemfile.lock
README.md
Rakefile
config.ru

README.md

rails new blog_mpac && cd blog_mpac
rails g scaffold Post title body:text && rake db:setup

pry -r msgpack -r uri -r 'net/http'
res = Net::HTTP.get(URI.parse('http://0.0.0.0:3000/posts/1.mpac/'))
MessagePack.unpack(res)