Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

added friendly_id

  • Loading branch information...
commit e014a16cbc76e2f9b8996e55b7f5fd631635abce 1 parent 0cb65ba
@rapind authored
Showing with 6 additions and 2 deletions.
  1. +0 −1  rails3-mongoid.rb
  2. +6 −1 rails3.rb
View
1  rails3-mongoid.rb
@@ -43,7 +43,6 @@
gem 'inherited_resources', '1.1.2'
gem 'has_scope', '0.5.0'
gem 'responders', '0.6.2'
-gem 'friendly_id', '3.1.7'
gem 'will_paginate', '3.0.pre2'
gem 'simple_form', '1.2.2'
gem 'nifty-generators', :group => :development
View
7 rails3.rb
@@ -64,7 +64,12 @@
run 'rm public/javascripts/rails.js'
puts "replacing Prototype with jQuery"
# "--ui" enables optional jQuery UI
-run 'rails generate jquery:install --ui'
+run 'rails g jquery:install --ui'
+
+#----------------------------------------------------------------------------
+# Set up Friendly Id
+#----------------------------------------------------------------------------
+run 'rails g friendly_id'
#----------------------------------------------------------------------------
# Set up Devise
Please sign in to comment.
Something went wrong with that request. Please try again.