Nomo

Nomo makes 304 Not Modified headers and real-time page updates with Rails applications easy.

Installation

Add this line to your application's Gemfile:

gem 'nomo'

And then execute:

$ bundle

Or install it yourself as:

$ gem install nomo

Usage

Nomo provides the has_page and modifies methods to ActiveRecord::Base models.

has_page

Nomo pages are defined using the has_page method provided to ActiveRecord::Base models.

class Post
  has_page :show
end

This will create show_page and modify_show_page methods for each Post instance (see Methods).

Contributing

  1. Fork it
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Added some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create new Pull Request