Using restful_authentication and
before_filter :login_required, :only=> [:create]
on controller:
Is it possible to store data from form, and after user logged in, continue with 'create'?
So i mean:
- User logged off and he see Somecontroller#new
- Then he fill in the form
- Then he press "Save"
- As we have login_required, user now has to login.
- After login the 'create' action continues, and user should be redirected to some path (which set on create action)
If no, how such system ca be done?
The main idea is smooth flow — so unregister user don't have to signup first, he can do that during "create" action.
Many thanks!