Displaying 1 result from an estimated 1 matches for "belgiumusers".
2013 Mar 07
0
custom table_name for table users with devise
Hi
for my app, I have several tables for users (franceusers, belgiumusers, 
...) and I would like to use one or another depending on domain
I tried with table_name_prefix and table_name but it seems to not work 
class User < ActiveRecord::Base
  rolify
  # Include default devise modules. Others available are:
  # :token_authenticatable, :confirmable,
  # :lockable, :...