You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session. You switched accounts on another tab or window. Reload to refresh your session. Dismiss alert
まず maintainer が変わって、official repository が変わってた。もう半年前の話だった。 archiloque's rest-client at 1.5.1 - GitHubrest-client | RubyGems.org | your community gem hostarchiloque's fork is now official そんでもって 0.9 からの違いで言うと jeweler で gem を作るようになったrspec でテストを書くようになったmimetype の取り回しは mime-types に依存するようになったcookie 周りで CGI を呼び出すようになったこんな感じ1。 一度 1.4 で response が String でなくなって、あれ、既存のスクリプト書き直しか?と思ったら 1.5 でまた String に戻った2。
ActiveRecord をキャッシュしたい、そんなあなたに acts_as_cached。 1. Install memcached. http://www.danga.com/memcached/download.bml より memcached の最新版をインストール。 途中、libevent が必要だったので、こっちを先にインストールしておく。 2. Install memcache-client. $ sudo gem install memcache-client参考にしたドキュメントには memcached-client って書いてあったけど、これ間違い。d いらない! 3. Install this plugin. $ cd RAILS_ROOT $ ruby script/plugin install svn://errtheblog.com/svn/plugins/ac
RestClient on steroids ! Want to add transparent HTTP caching to the rest-client gem ? It’s as simple as: require 'restclient/components' require 'rack/cache' RestClient.enable Rack::Cache RestClient.get "http://some/cacheable/resource" Want to log the requests in the commonlog format ? require 'restclient/components' RestClient.enable Rack::CommonLogger, STDOUT RestClient.get "http://some/resourc
Rack::Cache is suitable as a quick drop-in component to enable HTTP caching for Rack-based applications that produce freshness (Expires, Cache-Control) and/or validation (Last-Modified, ETag) information. Standards-based (see RFC 2616 / Section 13). Freshness/expiration based caching Validation Vary support Portable: 100% Ruby / works with any Rack-enabled framework. Disk, memcached, and heap memo
リリース、障害情報などのサービスのお知らせ
最新の人気エントリーの配信
処理を実行中です
j次のブックマーク
k前のブックマーク
lあとで読む
eコメント一覧を開く
oページを開く