Ruby HTML JavaScript CSS
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
app update style and gems Jul 10, 2013
config
db
log
public
script
test
vendor
.gitignore
Gemfile
Gemfile.lock
LICENSE
Procfile
README.md
Rakefile
app.json add deploy to heroku support Aug 5, 2014
config.ru Empty rails app. Oct 18, 2012

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.