Sha256: a649b03f9fea86455fbbc2b9b454195e98d66c53ba00248d3a8eaf2160b7c8bc

Contents?: true

Size: 590 Bytes

Versions: 63

Compression:

Stored size: 590 Bytes

Contents

run "rm public/index.html"
inside 'vendor/plugins' do
  run "git clone ../../../ friendly_id"
end
gem "haml"
gem "will_paginate"
run "haml --rails ."
generate "friendly_id"
generate :haml_scaffold, "post title:string"
route "map.root :controller => 'posts', :action => 'index'"
rake "db:migrate"
rake "db:fixtures:load"
file 'app/models/post.rb',
%q{class Post < ActiveRecord::Base
  has_friendly_id :title, :use_slug => true
end}
file 'test/fixtures/slugs.yml',
%q{
one:
  name: mystring
  sequence: 1
  sluggable: one (Post)

two:
  name: mystring
  sequence: 2
  sluggable: two (Post)
}

Version data entries

63 entries across 63 versions & 4 rubygems

Version Path
friendly_id-3.3.3.0 extras/template-plugin.rb
friendly_id-3.3.2.0 extras/template-plugin.rb
friendly_id_globalize3-3.2.1.6 extras/template-plugin.rb
friendly_id-3.3.1.1 extras/template-plugin.rb
friendly_id-3.3.1 extras/template-plugin.rb
friendly_id-3.3.0.1 extras/template-plugin.rb
friendly_id_globalize3-3.2.1.5 extras/template-plugin.rb
friendly_id-3.3.0.rc2 extras/template-plugin.rb
friendly_id-3.3.0.rc1 extras/template-plugin.rb
friendly_id_globalize3-3.2.1.4 extras/template-plugin.rb
friendly_id-3.3.0.alpha2 extras/template-plugin.rb
friendly_id-3.3.0.alpha1 extras/template-plugin.rb
friendly_id_globalize3-3.2.1.3 extras/template-plugin.rb
friendly_id_globalize3-3.2.1.2 extras/template-plugin.rb
friendly_id_globalize3-3.2.1.1 extras/template-plugin.rb
friendly_id-3.2.1.1 extras/template-plugin.rb
friendly_id_globalize3-3.2.1 extras/template-plugin.rb
friendly_id-3.2.1 extras/template-plugin.rb
friendly_id_globalize3-3.2.0 extras/template-plugin.rb
friendly_id-3.2.0 extras/template-plugin.rb