Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
app
config
db
doc
lib
log
public
script
test
vendor
.gitignore
Gemfile
Gemfile.lock
LICENSE
Procfile
README.md
Rakefile
app.json
config.ru

README.md

MemCachier Rails Sandbox

This is a Ruby on Rails app meant to be used in a sandbox environment for experimenting with Memcache on Heroku.

Click here to automatically deploy a copy of this app to your Heroku account.

Once the app is provisioned, establish a Memcache console from the command line. Your Heroku app name is the subdomain of your deployed app. So if your app was deployed to "http://serene-mesa-2821.herokuapp.com/" then its app name is "serene-mesa-2821":

~~~~ .ruby
$ heroku run console -a app-name
irb> cache = Dalli::Client.new
irb> cache.set("foo", "bar")
=> true
irb> cache.get("foo")
=> "bar"
~~~~

Refer to the Getting the Most Out of Memcache article for advanced memcache usage.

Deploy to Heroku

You can deploy this app yourself to Heroku to play with.

Deploy

Get involved!

We are happy to receive bug reports, fixes, documentation enhancements, and other improvements.

Please report bugs via the github issue tracker.

Master git repository:

  • git clone git://github.com/memcachier/rails_sandbox.git

Licensing

This library is BSD-licensed.

Something went wrong with that request. Please try again.