README.md in hanami-model-1.2.0.beta2 vs README.md in hanami-model-1.2.0.rc1
- old
+ new
@@ -240,10 +240,10 @@
class UserRepository < Hanami::Repository
end
Hanami::Model.configure do
- adapter :sql, uri: 'postgresql://localhost/bookshelf'
+ adapter :sql, 'postgresql://localhost/bookshelf'
end.load!
repository = UserRepository.new
user = repository.create(name: 'Luca')