Sha256: 634ad8b7f329d821c0149439626d16a875fe8b7fa104352f4fc98a2cf2fd34b4

Contents?: true

Size: 888 Bytes

Versions: 20

Compression:

Stored size: 888 Bytes

Contents

  #####################  DELETE EXISTING USERS  #####################
  User.delete_all

  #####################  CREATE DEFAULT USER  #####################
  User.populate 1 do |x|
    x.login = "i0n"
    x.email = "ianalexanderwood@gmail.com"
    x.crypted_password = "e22d74a99750f4a13960e72782586fc2edd020a2c6215eb1f98ede635c1e5173a25a53b3f461ade87f3a13fa1f3fdb20f1dcdd4e8cdd74c0d29abfd5f8a66c79"
    x.password_salt = "3kH2EVijgrXNODNyLtLZ"
    x.single_access_token = "be9e887123d2f1ef7d7370ed26fd823c031ca6c5da1ddf3cade69bb29e285cbca799517a44672fd62fe9354f782e3d5dc641376270d36f59ca9600d95437e630"
    x.perishable_token = "s7bD7z9B8DqVcX4hwa2P"
    x.persistence_token = 'be9e887123d2f1ef7d7370ed26fd823c031ca6c5da1ddf3cade69bb29e285cbca799517a44672fd62fe9354f782e3d5dc641376270d36f59ca9600d95437e630'
    x.role = "admin"
    x.login_count = 0
    x.failed_login_count = 0
  end

Version data entries

20 entries across 20 versions & 1 rubygems

Version Path
i0n_rails3_generators-0.2.19 lib/generators/authlogic/complete/templates/_populate.rake
i0n_rails3_generators-0.2.18 lib/generators/authlogic/complete/templates/_populate.rake
i0n_rails3_generators-0.2.17 lib/generators/authlogic/complete/templates/_populate.rake
i0n_rails3_generators-0.2.16 lib/generators/authlogic/complete/templates/_populate.rake
i0n_rails3_generators-0.2.15 lib/generators/authlogic/complete/templates/_populate.rake
i0n_rails3_generators-0.2.14 lib/generators/authlogic/complete/templates/_populate.rake
i0n_rails3_generators-0.2.13 lib/generators/authlogic/complete/templates/_populate.rake
i0n_rails3_generators-0.2.12 lib/generators/authlogic/complete/templates/_populate.rake
i0n_rails3_generators-0.2.11 lib/generators/authlogic/complete/templates/_populate.rake
i0n_rails3_generators-0.2.10 lib/generators/authlogic/complete/templates/_populate.rake
i0n_rails3_generators-0.2.9 lib/generators/authlogic/complete/templates/_populate.rake
i0n_rails3_generators-0.2.8 lib/generators/authlogic/complete/templates/_populate.rake
i0n_rails3_generators-0.2.7 lib/generators/authlogic/complete/templates/_populate.rake
i0n_rails3_generators-0.2.6 lib/generators/authlogic/complete/templates/_populate.rake
i0n_rails3_generators-0.2.5 lib/generators/authlogic/complete/templates/_populate.rake
i0n_rails3_generators-0.2.4 lib/generators/authlogic/complete/templates/_populate.rake
i0n_rails3_generators-0.2.3 lib/generators/authlogic/complete/templates/_populate.rake
i0n_rails3_generators-0.2.2 lib/generators/authlogic/complete/templates/_populate.rake
i0n_rails3_generators-0.2.1 lib/generators/authlogic/complete/templates/_populate.rake
i0n_rails3_generators-0.2.0 lib/generators/authlogic/complete/templates/_populate.rake