You’re not receiving notifications from this thread.
Ruby on Rails: gem devise session logged in
I have two tables, company and employee, so I would like when I register an employee, his registration was also for the company that was already logged, that is, without having to have to choose which company of that employee. How would I do this in ruby on rails? I'm using gem devise to login.
I wish to help but I can't figure out what you want to do. Use short and simple sentences to describe:
- Your current setup
- Your desired user flow
- What you're having a problem with
- Show code if you have any