README.md in friendly_id-5.0.3 vs README.md in friendly_id-5.0.4
- old
+ new
@@ -143,10 +143,11 @@
Docs for older versions are also available:
* [4.0](http://norman.github.io/friendly_id/4.0/)
* [3.3](http://norman.github.io/friendly_id/3.3/)
+* [2.3](http://norman.github.io/friendly_id/2.3/)
The best place to start is with the
[Guide](http://norman.github.io/friendly_id/file.Guide.html),
which compiles the top-level RDocs into one outlined document.
@@ -163,17 +164,11 @@
# Gemfile
gem 'friendly_id', '~> 5.0.0' # Note: You MUST use 5.0.0 or greater for Rails 4.0+
```
```shell
rails generate friendly_id
-rails generate scaffold user name:string slug:string
-```
-```ruby
-# edit db/migrate/*_create_users.rb
-add_index :users, :slug, unique: true
-```
-```shell
+rails generate scaffold user name:string slug:string:uniq
rake db:migrate
```
```ruby
# edit app/models/user.rb
class User < ActiveRecord::Base
@@ -231,10 +226,10 @@
We're deeply grateful for the generous contributions over the years from [many
volunteers](https://github.com/norman/friendly_id/contributors).
## License
-Copyright (c) 2008-2013 Norman Clarke and contributors, released under the MIT
+Copyright (c) 2008-2014 Norman Clarke and contributors, released under the MIT
license.
Permission is hereby granted, free of charge, to any person obtaining a copy of
this software and associated documentation files (the "Software"), to deal in
the Software without restriction, including without limitation the rights to