FEATURE: Admin selector to choose a primary group for a user, display it

and apply a CSS class to their posts.
This commit is contained in:
Robin Ward
2014-02-10 16:59:36 -05:00
parent c97481623d
commit b61df08d1b
20 changed files with 185 additions and 10 deletions

View File

@@ -0,0 +1,5 @@
class AddPrimaryGroupIdToUsers < ActiveRecord::Migration
def change
add_column :users, :primary_group_id, :integer, null: true
end
end