Sha256: 2df7ee34f47b0cfeaf7639fb421393b1572b289c651781733e996beb80476bc8

Contents?: true

Size: 806 Bytes

Versions: 1

Compression:

Stored size: 806 Bytes

Contents

= netzke-persistence

A drop-in gem to enable persistence in Netzke components.

== Installation

In your Gemfile:

    gem 'netzke-persistence'

From your app directory run:

    rails generate netzke:persistence && rake db:migrate

== Usage

Refer to http://api.netzke.org/core/Netzke/State.html

For an example, see ComponentWithPersistence in test/rails_app/app/components.

== Running tests

Sym-link Ext JS library into the test app, e.g. (depends on where your Ext JS is located):

    ln -s ~/code/sencha/ext-3.3.0 test/rails_app/public/extjs

Run bundle install from inside the test app:

    cd test/rails_app && bundle install && cd -

To run cucumber tests:

    cucumber features

To run RSpec tests:

    rspec spec

---

Copyright (c) 2008-2010 Sergei Kozlov, released under the MIT license

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
netzke-persistence-0.1.0 README.rdoc