Project

meta2

0.0
No commit activity in last 3 years
No release in over 3 years
Implementation of the order to easily manage the meta-information for engineers and service managers. When your write i18n file or manage database through active record, put on it is reflected meta information on html.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

~> 1.7
~> 10.0
~> 3.3

Runtime

< 5, >= 4.0.0
~> 0.7.0
 Project Readme

Meta2

Implementation of the order to easily manage the meta-information for engineers and service managers. When your write i18n file or manage database through active record, put on it is reflected meta information on html.

Installation

Add this line to your application's Gemfile:

gem 'meta2'

And then execute:

$ bundle

Or install it yourself as:

$ gem install meta2

Features

  1. Minimize the number of issued of SQL for system load usisng active record strategy.
  2. Implement scafoiding of the management function.

Supported ORMs.

Active record only.

Usage

  1. bundle 'meta2' gem.
  2. Create setting file for meta2 by install command. You can use the generator for doing this ( % rails g meta2:install ) Setting file is created ( config/initializers/meta2.rb ).
  3. Basically there is not problem with default setting, if you need to change it, Plrease change in the reference of Setting section.
  4. Writing helper method for meta2 ( meta_tags ) into html head tag.
  5. Please configure the meta-information according strategry your choice for each page on your system.
  6. Then it's done.

Setting

  • strategy You can choise :i18n or :activerecord as the storage for saving meta information. default, i18n.

  • assign_name Default meta2. Basically you do not need to change.

  • columns Default title, description and keyword.

  • logger

*logging

Configuration

I18n

Active record

Contributing

  1. Fork it ( https://github.com/[my-github-username]/meta2/fork )
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create a new Pull Request