This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# create the instance and set up the roles | |
i = Instance.create(:long_name => "Instance Long Name") | |
i.short_name = "short_name" | |
i.roles = Role.default_setup | |
i.save | |
# create a new user | |
u = i.users.create(:first_name => "John", :last_name => "Smith", :email => "johnsmith@example.com") | |
u.role = i.roles.find_by_name('Super Administrator') # assign a role | |
u.generate_salt! |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* general styles go at the top */ | |
a { | |
text-decoration: none; | |
color: black; | |
} | |
/* specific styles are hierarchically organized below */ | |
body { | |
font-family: Helvetica, 'Helvetica Neue', Arial, sans-serif; | |
font-size: 16px; | |
background: white; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
development: | |
adapter: mysql | |
encoding: utf8 | |
database: collabbit_dev | |
username: | |
password: | |
host: localhost | |
test: | |
adapter: mysql |