Previously, the draft :account generators did not utilize the patches we wrote for Phase I / AD1 projects to enable Hash#fetch, Hash#store on session.
Solution
This PR updates the draft:account generator to use Session#fetch and Session#store instead of Session[ ]
Notes
While Session#fetch is available to use w/out patching in Rails 7, Session#store is not, so the patches are still required and handled by appdev_support.
Resolves #78 Resolves https://github.com/firstdraft/appdev/issues/237
Problem
Previously, the draft :account generators did not utilize the patches we wrote for Phase I / AD1 projects to enable
Hash#fetch
,Hash#store
onsession
.Solution
This PR updates the
draft:account
generator to useSession#fetch
andSession#store
instead ofSession[ ]
Notes
While
Session#fetch
is available to use w/out patching in Rails 7,Session#store
is not, so the patches are still required and handled byappdev_support
.