Skip to content

Commit

Permalink
Fixes broken code sample in Readme
Browse files Browse the repository at this point in the history
  • Loading branch information
jasoncharnes committed Feb 12, 2019
1 parent c742e40 commit b950329
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -402,7 +402,7 @@ Want to add methods to `Pay::Subscription` or `Pay::Charge`? You can
define a concern and simply include it in the model when Rails loads the
code.

We'll be using the `to_prepare` method to allow our concerns to be
Pay uses the `to_prepare` method to allow concerns to be
included every time Rails reloads the models in development as well.

```ruby
Expand All @@ -416,6 +416,7 @@ module SubscriptionExtensions
# instance methods and code go here
end
```

```ruby
# config/initializers/subscription_extensions.rb
Expand Down

0 comments on commit b950329

Please sign in to comment.