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
- Fork it
- Create your feature branch (
git checkout -b my-new-feature) - Commit your changes (
git commit -am 'Added some feature') - Push to the branch (
git push origin my-new-feature) - Create new Pull Request