Metaitems
Gem for Rails that can generate metaitems to a project. For properly work require ActiveRecord, ERB, Playmo. Metaitems is the functionality (model, view, controller, route) to manage name, description, keywords and url nick for html page.
Installation
Add this line to your application's Gemfile:
gem 'metaitems'
And then execute:
$ bundle
Or install it yourself as:
$ gem install metaitems
Usage
Description: Generates metaitems to your project. Metaitems is the functionality (model, view, controller, route) to manage name, description, keywords and url nick for html page.
Examples: rails generate metaitems
Model: app/models/metaitem.rb
Migration: db/migrate/[NOW_DATETIME]_create_metaitems.rb
View: app/views/metaitems/edit.html.erb
Helper: app/helpers/metaitems_helper.rb
Controller: app/controllers/metaitems_controller.rb
Route: 'resource :metaitem, :only => [:edit, :update]'
For properly work require ActiveRecord, ERB.
Contributing
- Fork it
- Create your feature branch (
git checkout -b my-new-feature
) - Commit your changes (
git commit -am 'Add some feature'
) - Push to the branch (
git push origin my-new-feature
) - Create new Pull Request