Socket
Book a DemoInstallSign in
Socket

represent

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

represent

0.0.1.5
bundlerRubygems
Version published
Maintainers
1
Created
Source

Represent

DRY, SEO-friendly Rails Views

Usage

Install

sudo gem install represent

Helpers

Metadata Helpers

Adding metadata to your views is easy (app/views/pages/index.html.erb):

<% title       @post.title %>
<% description @post.description %>
<% keywords    @post.tag_list %>
<% body_class  "post post-template" %>

<div id="content">...</div>

Default metadata is just as easy (app/views/layouts/application.html.erb):

<%= meta_tags "My Site",
    :keywords => "Rails 3, jQuery",
    :description => "This is what Facebook displays" %>

System Helpers

Need to check what browser it is? No problem.

Layout Helpers

Would you like to create a nested menu, or a grid? No problem.

FAQs

Package last updated on 20 Jun 2010

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

About

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.

  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc

U.S. Patent No. 12,346,443 & 12,314,394. Other pending.