-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
- Loading branch information
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -12,6 +12,16 @@ You must have | |
* Ruby 2.x | ||
* Rails 4.x | ||
|
||
## DEFAULT USERS | ||
|
||
This comment has been minimized.
Sorry, something went wrong.
This comment has been minimized.
Sorry, something went wrong.
marjinal1st
Author
Contributor
|
||
Admin: | ||
* Email: [email protected], Password: '12341234' | ||
|
||
Users: | ||
* Email: [email protected], Password: '12341234' | ||
* Email: [email protected], Password: '12341234' | ||
* Email: [email protected], Password: '12341234' | ||
|
||
## CONTACT | ||
|
||
* [Twitter](https://twitter.com/yakutproject) | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,3 +5,24 @@ | |
# | ||
# cities = City.create([{ name: 'Chicago' }, { name: 'Copenhagen' }]) | ||
# Mayor.create(name: 'Emanuel', city: cities.first) | ||
|
||
if Rails.env.development? | ||
admin = Admin.create(email: '[email protected]', | ||
password: '12341234', | ||
password_confirmation: '12341234') | ||
|
||
user1 = User.create(name: 'User 1', | ||
email: '[email protected]', | ||
password: '12341234', | ||
password_confirmation: '12341234') | ||
|
||
user2 = User.create(name: 'User 2', | ||
email: '[email protected]', | ||
password: '12341234', | ||
password_confirmation: '12341234') | ||
|
||
user3 = User.create(name: 'User 3', | ||
email: '[email protected]', | ||
password: '12341234', | ||
password_confirmation: '12341234') | ||
end |
4 comments
on commit c581aa2
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
π Reviewed and @marjinal1st you should see http://railsbp.com/repositories/352-yakut-project-yakut/builds/4930
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Wow, that's a great site for code clean up :) π
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@onurozgurozkan π for http://railsbp.com
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@onurozgurozkan http://railsbp.com π nice work
It is a good idea to write login url ;)