Skip to content

Commit

Permalink
Clarified some version-related info.
Browse files Browse the repository at this point in the history
  • Loading branch information
norman committed Aug 30, 2010
1 parent e086d10 commit 6b7dd2e
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
8 changes: 4 additions & 4 deletions Guide.md
Original file line number Diff line number Diff line change
Expand Up @@ -76,13 +76,13 @@ with Rails 2.3.x. and 3.0.

After installing the gem, add an entry in environment.rb:

config.gem "friendly_id", :version => "~> 2.3"
config.gem "friendly_id", :version => "~> 3.1"

### Rails 3.0

After installing the gem, add an entry in the Gemfile:

gem "friendly_id", "~> 3.0"
gem "friendly_id", "~> 3.1"

### As a Plugin

Expand Down Expand Up @@ -147,7 +147,7 @@ dashes, and non-word characters other than "-" are removed.

### Replacing Accented Characters

If your strings use Western characters, you can use the `:approximate_ascii` option to remove
If your strings use Latin characters, you can use the `:approximate_ascii` option to remove
accents and other diacritics:

class City < ActiveRecord::Base
Expand All @@ -169,7 +169,7 @@ There are special options for some languages:

FriendlyId supports whatever languages are supported by
[Babosa](https://github.com/norman/babosa); at the time of writing, this
includes German, Spanish and Serbian.
includes German, Spanish, Serbian and Danish.

### Unicode Slugs

Expand Down
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,13 +19,13 @@ versioning, scoped slugs, reserved words, custom slug generators, and
excellent Unicode support. For complete information on using FriendlyId,
please see the [FriendlyId Guide](http://norman.github.com/friendly_id/file.Guide.html).

FriendlyId is compatible with Active Record 2.3.x and 3.0.
FriendlyId is compatible with Active Record **2.3.x** and **3.0**.

## Rails Quickstart
## Rails Quickstart (3.0)

gem install friendly_id

rails my_app
rails new my_app

cd my_app

Expand All @@ -44,7 +44,7 @@ FriendlyId is compatible with Active Record 2.3.x and 3.0.

User.create! :name => "Joe Schmoe"

./script/server
rails server

GET http://0.0.0.0:3000/users/joe-schmoe

Expand Down

0 comments on commit 6b7dd2e

Please sign in to comment.