mirror of
https://github.com/drapergem/draper
synced 2023-03-27 23:21:17 -04:00
![]() * Add support for Rails 6.0 to `ViewContext::BuildStrategy`
In Rails 6.0 the API for `ActionView::Base.new` is changing.
`ActionView::Base.new` now take arguments [1], otherwise you
will see the following deprecation warning:
```
DEPRECATION WARNING: ActionView::Base instances should be constructed with a lookup context, assignments, and a controller.
```
[1]
|
||
---|---|---|
.. | ||
assets/config | ||
controllers | ||
decorators | ||
helpers | ||
jobs | ||
mailers | ||
models | ||
views |