Skip to content

Commit

Permalink
Change ActiveRecord::Base to ApplicationRecord
Browse files Browse the repository at this point in the history
  • Loading branch information
jeremylynch authored Dec 7, 2016
1 parent 920af01 commit 7e4b831
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -179,7 +179,7 @@ rake db:migrate
```
```ruby
# edit app/models/user.rb
class User < ActiveRecord::Base
class User < ApplicationRecord
extend FriendlyId
friendly_id :name, use: :slugged
end
Expand Down

0 comments on commit 7e4b831

Please sign in to comment.