Taynan Breno

Joined

50 Experience
0 Lessons Completed
0 Questions Solved

Activity

Posted in 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.