I tried adding to the user model :
attr_accessible :client_version
add added column client_version to the DB using the migration
In the sign_in request I’ve added the field:
addParameter(“user[client_version]”, clientVersion);
I also tried to tweak the trackable module But that does not work, any ideas?
Thanks
In order to override the default Devise views, you will first need to run:
rails generate devise:viewsfrom your terminal. This will give you access to all of the views that Devise uses at
app/views/devise. You can then add any additional fields tosessions/new.html.erbthat you need.