Sha256: cd3d7a47057ff58f5d9c29ee9c842d06b50f03214b69ec5de3e9e5ef0386fa1f

Contents?: true

Size: 549 Bytes

Versions: 13

Compression:

Stored size: 549 Bytes

Contents

<h1>Friendly</h1>

<p>FriendlyId provides slugging and permalink support for Active Record. It lets you create pretty URLs and work with human-friendly strings as if they were numeric ids.</p>

<table>
  <thead>
  <tr>
    <td>Title</td>
    <td style='width: 100px;'>Category</td>
    <td>Friendly URL</td>
  </tr>
  </thead>
  <tbody>
  <% @posts.each do |post| %>
    <tr>
    <td><%= post.title %></td>
    <td style='width: 100px;'><%= post.category %></td>
    <td><%= link_to post.slug, post %></td>
    </tr>
  <% end %>
  </tbody>
</table>

Version data entries

13 entries across 13 versions & 1 rubygems

Version Path
rails_app_generator-0.3.6 after_templates/addons/friendly_id/app/views/home/index.html.erb
rails_app_generator-0.3.5 after_templates/addons/friendly_id/app/views/home/index.html.erb
rails_app_generator-0.3.4 after_templates/addons/friendly_id/app/views/home/index.html.erb
rails_app_generator-0.3.3 after_templates/addons/friendly_id/app/views/home/index.html.erb
rails_app_generator-0.3.2 after_templates/addons/friendly_id/app/views/home/index.html.erb
rails_app_generator-0.3.1 after_templates/addons/friendly_id/app/views/home/index.html.erb
rails_app_generator-0.3.0 after_templates/addons/friendly_id/app/views/home/index.html.erb
rails_app_generator-0.2.43 after_templates/addons/friendly_id/app/views/home/index.html.erb
rails_app_generator-0.2.42 after_templates/addons/friendly_id/app/views/home/index.html.erb
rails_app_generator-0.2.41 after_templates/addons/friendly_id/app/views/home/index.html.erb
rails_app_generator-0.2.40 after_templates/addons/friendly_id/app/views/home/index.html.erb
rails_app_generator-0.2.39 after_templates/addons/friendly_id/app/views/home/index.html.erb
rails_app_generator-0.2.38 after_templates/addons/friendly_id/app/views/home/index.html.erb