1
0
Fork 0

Remove enumerated_attribute gem (not working with latest rails?)

This commit is contained in:
Andrew Tomaka 2013-05-30 23:16:34 -04:00
parent 8d330e74ef
commit 73e6db58ce
4 changed files with 1 additions and 8 deletions

View file

@ -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.

View file

@ -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

View file

@ -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

View file

@ -35,7 +35,7 @@
<div class="control-group">
<%= f.label :semester, :class => 'control-label' %>
<div class="controls">
<%= f.enum_select :semester %>
<%= f.text_field :semester, :class => 'text_field' %>
</div>
</div>