README.md in bourgeois-0.1.5 vs README.md in bourgeois-1.0
- old
+ new
@@ -71,10 +71,10 @@
```ruby
class UserPresenter < Bourgeois::Presenter
helper :with_profile, if: -> { profile.present? && profile.public? }
end
-User.first.new = Profile.create(public: true, title: 'Foo', description: 'Bar')
+User.first.profile = Profile.create(public: true, title: 'Foo', description: 'Bar')
```
```erb
<% present User.first do |user| %>
<h1><%= user.full_name %></h1>