Big refactoring of registration

- Added datatable gem
- Addaed datatable to events, users (#422), registrations
This commit is contained in:
Chrisbr 2014-08-22 15:08:54 +02:00
parent 0f1051d24e
commit d21e19b977
34 changed files with 435 additions and 12988 deletions

View file

@ -16,7 +16,8 @@ class User < ActiveRecord::Base
has_many :openids
attr_accessible :email, :password, :password_confirmation, :remember_me, :role_id, :role_ids,
:name, :email_public, :biography, :nickname, :affiliation, :is_admin
:name, :email_public, :biography, :nickname, :affiliation, :is_admin,
:tshirt, :mobile, :volunteer_experience, :languages
has_many :event_users, dependent: :destroy
has_many :events, -> { uniq }, through: :event_users