1
0
mirror of https://github.com/fspc/BikeShed-1.git synced 2025-02-28 16:53:23 -05:00

Removing nickname from user

This commit is contained in:
Jason Denney 2013-06-13 20:59:01 -04:00
parent 03abb963ac
commit ff60fdd67f
3 changed files with 6 additions and 2 deletions

View File

@ -17,7 +17,6 @@ class Users < Netzke::Basepack::Grid
:username,
:first_name,
:last_name,
:nickname,
:email,
:bike__shop_id
]

View File

@ -7,7 +7,7 @@ class User < ActiveRecord::Base
# Setup accessible (or protected) attributes for your model
attr_accessible :email, :password, :password_confirmation, :remember_me,
:first_name, :last_name, :nickname, :bike_id,
:first_name, :last_name, :bike_id,
:user_profiles_attributes, :username
has_many :transactions

View File

@ -0,0 +1,5 @@
class RemoveNickname < ActiveRecord::Migration
def change
remove_column :users, :nickname, :string
end
end