diff --git a/Gemfile b/Gemfile index 870d520..d9e1bc7 100644 --- a/Gemfile +++ b/Gemfile @@ -14,8 +14,6 @@ gem 'devise-kerberos-authenticatable', :git => 'git://github.com/atomaka/devise-kerberos-authenticatable.git' gem 'cancan' -gem 'enumerated_attribute' - # Gems used only for assets and not required # in production environments by default. diff --git a/Gemfile.lock b/Gemfile.lock index 2bd1548..75821c9 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -73,8 +73,6 @@ GEM orm_adapter (~> 0.1) railties (~> 3.1) warden (~> 1.2.1) - enumerated_attribute (0.2.16) - meta_programming (>= 0.2.1) erubis (2.7.0) eventmachine (1.0.3) execjs (1.4.0) @@ -99,7 +97,6 @@ GEM mail (2.5.4) mime-types (~> 1.16) treetop (~> 1.4.8) - meta_programming (0.2.2) meta_request (0.2.6) callsite rack-contrib @@ -195,7 +192,6 @@ DEPENDENCIES coffee-rails (~> 3.2.1) devise devise-kerberos-authenticatable! - enumerated_attribute jquery-rails less-rails meta_request diff --git a/app/models/alert.rb b/app/models/alert.rb index 7a56f50..75d7b80 100644 --- a/app/models/alert.rb +++ b/app/models/alert.rb @@ -1,5 +1,4 @@ class Alert < ActiveRecord::Base - enum_attr :semester, %w(US13 FS13 SS14) attr_accessible :course, :department, :semester, :sections attr_protected :user_id attr_protected :alerted diff --git a/app/views/alerts/_form.html.erb b/app/views/alerts/_form.html.erb index d6ba143..61392ec 100644 --- a/app/views/alerts/_form.html.erb +++ b/app/views/alerts/_form.html.erb @@ -35,7 +35,7 @@