forked from DamageStudios/rims
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fixing seed data by adding passwords (using README values) to the Use…
…r hash in seed.rb. DamageStudios#86.
- Loading branch information
Showing
1 changed file
with
2 additions
and
2 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
User.create!([ | ||
{email: "[email protected]", encrypted_password: "$2a$10$oDzbUkPp42HJd8rnmXG2qOMQAgLSuneh0m1/k6SDZVftfYHHvlOYm", reset_password_token: nil, reset_password_sent_at: nil, remember_created_at: nil, sign_in_count: 4, current_sign_in_at: "2014-12-30 23:41:54", last_sign_in_at: "2014-12-30 23:40:40", current_sign_in_ip: "::1", last_sign_in_ip: "::1", role: 2}, | ||
{email: "[email protected]", encrypted_password: "$2a$10$sA0D0R3hEgdHUWPNiqYY.eh8xJsVjHpG9EHCSrMLllkWIciRuTALW", reset_password_token: nil, reset_password_sent_at: nil, remember_created_at: nil, sign_in_count: 1, current_sign_in_at: "2014-03-10 11:28:22", last_sign_in_at: "2014-03-10 11:28:22", current_sign_in_ip: "127.0.0.1", last_sign_in_ip: "127.0.0.1", role: 0} | ||
{email: "[email protected]", password: "changeme",encrypted_password: "$2a$10$oDzbUkPp42HJd8rnmXG2qOMQAgLSuneh0m1/k6SDZVftfYHHvlOYm", reset_password_token: nil, reset_password_sent_at: nil, remember_created_at: nil, sign_in_count: 4, current_sign_in_at: "2014-12-30 23:41:54", last_sign_in_at: "2014-12-30 23:40:40", current_sign_in_ip: "::1", last_sign_in_ip: "::1", role: 2}, | ||
{email: "[email protected]", password: "changeme", encrypted_password: "$2a$10$sA0D0R3hEgdHUWPNiqYY.eh8xJsVjHpG9EHCSrMLllkWIciRuTALW", reset_password_token: nil, reset_password_sent_at: nil, remember_created_at: nil, sign_in_count: 1, current_sign_in_at: "2014-03-10 11:28:22", last_sign_in_at: "2014-03-10 11:28:22", current_sign_in_ip: "127.0.0.1", last_sign_in_ip: "127.0.0.1", role: 0} | ||
]) | ||
Item.create!([ | ||
{name: "Arduino Uno", description: "The Arduino Uno is a microcontroller board based on the ATmega328. It has 14 digital input/output pins (of which 6 can be used as PWM outputs), 6 analog inputs, a 16 MHz ceramic resonator, a USB connection, a power jack, an ICSP header, and a reset button. \r\n\r\nRevision 3 of the board has the following new features:\r\n* 1.0 pinout: added SDA and SCL pins that are near to the AREF pin and two other new pins placed near to the RESET pin, the IOREF that allow the shields to adapt to the voltage provided from the board. In future, shields will be compatible with both the board that uses the AVR, which operates with 5V and with the Arduino Due that operates with 3.3V. The second one is a not connected pin, that is reserved for future purposes.\r\n* Stronger RESET circuit.\r\n* Atmega 16U2 replace the 8U2.", product_model_number: "R3", vendor_part_number: "50", vendor_name: "Adafruit", quantity: 8, unit_value: "24.949999999999999289457264239899814129", value: "199.599999999999994315658113919198513031", picture: "50-01.jpg", vendor_url: "http://www.adafruit.com/products/50", category: "Arduino", location: "H1LD1B1"}, | ||
|