mirror of
https://github.com/fspc/BikeShed-1.git
synced 2025-02-28 08:43:23 -05:00
Removing nickname from user
This commit is contained in:
parent
03abb963ac
commit
ff60fdd67f
@ -17,7 +17,6 @@ class Users < Netzke::Basepack::Grid
|
||||
:username,
|
||||
:first_name,
|
||||
:last_name,
|
||||
:nickname,
|
||||
:email,
|
||||
:bike__shop_id
|
||||
]
|
||||
|
@ -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
|
||||
|
5
db/migrate/20130614003934_remove_nickname.rb
Normal file
5
db/migrate/20130614003934_remove_nickname.rb
Normal file
@ -0,0 +1,5 @@
|
||||
class RemoveNickname < ActiveRecord::Migration
|
||||
def change
|
||||
remove_column :users, :nickname, :string
|
||||
end
|
||||
end
|
Loading…
x
Reference in New Issue
Block a user