dougui_users 0.0.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (87) hide show
  1. data/MIT-LICENSE +20 -0
  2. data/README.rdoc +3 -0
  3. data/Rakefile +39 -0
  4. data/app/assets/javascripts/dougui_users/application.js +9 -0
  5. data/app/assets/stylesheets/dougui_users/application.css +7 -0
  6. data/app/assets/stylesheets/scaffold.css +56 -0
  7. data/app/controllers/dougui_users/application_controller.rb +27 -0
  8. data/app/controllers/dougui_users/user_activates_controller.rb +13 -0
  9. data/app/controllers/dougui_users/user_reset_passwords_controller.rb +41 -0
  10. data/app/controllers/dougui_users/user_sessions_controller.rb +34 -0
  11. data/app/controllers/dougui_users/users_controller.rb +51 -0
  12. data/app/helpers/dougui_users/user_mailer_helper.rb +13 -0
  13. data/app/mailers/dougui_users/user_mailer.rb +15 -0
  14. data/app/models/dougui_users/user.rb +16 -0
  15. data/app/models/dougui_users/user_session.rb +11 -0
  16. data/app/models/user_session.rb +2 -0
  17. data/app/views/dougui_users/user_mailer/activation.html.erb +1 -0
  18. data/app/views/dougui_users/user_mailer/reset_password.html.erb +1 -0
  19. data/app/views/dougui_users/user_reset_passwords/edit.html.erb +16 -0
  20. data/app/views/dougui_users/user_reset_passwords/new.html.erb +11 -0
  21. data/app/views/dougui_users/user_sessions/new.html.erb +22 -0
  22. data/app/views/dougui_users/users/edit.html.erb +16 -0
  23. data/app/views/dougui_users/users/new.html.erb +25 -0
  24. data/app/views/layouts/dougui_users/application.html.erb +12 -0
  25. data/config/cucumber.yml +8 -0
  26. data/config/locales/en.yml +5 -0
  27. data/config/locales/fr.yml +50 -0
  28. data/config/routes.rb +13 -0
  29. data/db/migrate/20110916144049_create_dougui_users_users.rb +20 -0
  30. data/features/step_definitions/custom_web_steps.rb +3 -0
  31. data/features/step_definitions/email_steps.rb +206 -0
  32. data/features/step_definitions/user_steps.rb +90 -0
  33. data/features/step_definitions/web_steps.rb +211 -0
  34. data/features/support/env.rb +88 -0
  35. data/features/support/paths.rb +49 -0
  36. data/features/support/selectors.rb +39 -0
  37. data/features/user.feature +86 -0
  38. data/features/user_activates.feature +13 -0
  39. data/features/user_reset_passwords.feature +56 -0
  40. data/features/user_session.feature +35 -0
  41. data/lib/dougui_users/engine.rb +5 -0
  42. data/lib/dougui_users/version.rb +3 -0
  43. data/lib/dougui_users.rb +7 -0
  44. data/lib/tasks/cucumber.rake +65 -0
  45. data/lib/tasks/dougui_users_tasks.rake +4 -0
  46. data/spec/controllers/dougui_users/user_activates_controller_spec.rb +32 -0
  47. data/spec/controllers/dougui_users/user_reset_passwords_controller_spec.rb +59 -0
  48. data/spec/controllers/dougui_users/user_sessions_controller_spec.rb +57 -0
  49. data/spec/controllers/dougui_users/users_controller_spec.rb +98 -0
  50. data/spec/dummy/Rakefile +7 -0
  51. data/spec/dummy/app/assets/javascripts/application.js +9 -0
  52. data/spec/dummy/app/assets/stylesheets/application.css +7 -0
  53. data/spec/dummy/app/controllers/application_controller.rb +3 -0
  54. data/spec/dummy/app/helpers/application_helper.rb +2 -0
  55. data/spec/dummy/app/views/layouts/application.html.erb +14 -0
  56. data/spec/dummy/config/application.rb +45 -0
  57. data/spec/dummy/config/boot.rb +10 -0
  58. data/spec/dummy/config/database.yml +25 -0
  59. data/spec/dummy/config/environment.rb +5 -0
  60. data/spec/dummy/config/environments/development.rb +30 -0
  61. data/spec/dummy/config/environments/production.rb +60 -0
  62. data/spec/dummy/config/environments/test.rb +42 -0
  63. data/spec/dummy/config/initializers/backtrace_silencers.rb +7 -0
  64. data/spec/dummy/config/initializers/inflections.rb +10 -0
  65. data/spec/dummy/config/initializers/mime_types.rb +5 -0
  66. data/spec/dummy/config/initializers/secret_token.rb +7 -0
  67. data/spec/dummy/config/initializers/session_store.rb +8 -0
  68. data/spec/dummy/config/initializers/wrap_parameters.rb +14 -0
  69. data/spec/dummy/config/locales/en.yml +5 -0
  70. data/spec/dummy/config/locales/fr.yml +269 -0
  71. data/spec/dummy/config/routes.rb +4 -0
  72. data/spec/dummy/config.ru +4 -0
  73. data/spec/dummy/db/development.sqlite3 +0 -0
  74. data/spec/dummy/db/schema.rb +28 -0
  75. data/spec/dummy/db/test.sqlite3 +0 -0
  76. data/spec/dummy/log/development.log +1340 -0
  77. data/spec/dummy/log/test.log +15056 -0
  78. data/spec/dummy/public/404.html +26 -0
  79. data/spec/dummy/public/422.html +26 -0
  80. data/spec/dummy/public/500.html +26 -0
  81. data/spec/dummy/public/favicon.ico +0 -0
  82. data/spec/dummy/script/rails +6 -0
  83. data/spec/dummy/tmp/cache/assets/D0B/620/sprockets%2F5fe8057c4691686098ead34f79e79e8f +0 -0
  84. data/spec/factories/dougui_users/user_factory.rb +9 -0
  85. data/spec/models/dougui_users/user_spec.rb +30 -0
  86. data/spec/spec_helper.rb +65 -0
  87. metadata +326 -0
@@ -0,0 +1,30 @@
1
+ Dummy::Application.configure do
2
+ # Settings specified here will take precedence over those in config/application.rb
3
+
4
+ # In the development environment your application's code is reloaded on
5
+ # every request. This slows down response time but is perfect for development
6
+ # since you don't have to restart the web server when you make code changes.
7
+ config.cache_classes = false
8
+
9
+ # Log error messages when you accidentally call methods on nil.
10
+ config.whiny_nils = true
11
+
12
+ # Show full error reports and disable caching
13
+ config.consider_all_requests_local = true
14
+ config.action_controller.perform_caching = false
15
+
16
+ # Don't care if the mailer can't send
17
+ config.action_mailer.raise_delivery_errors = false
18
+
19
+ # Print deprecation notices to the Rails logger
20
+ config.active_support.deprecation = :log
21
+
22
+ # Only use best-standards-support built into browsers
23
+ config.action_dispatch.best_standards_support = :builtin
24
+
25
+ # Do not compress assets
26
+ config.assets.compress = false
27
+
28
+ # Expands the lines which load the assets
29
+ config.assets.debug = true
30
+ end
@@ -0,0 +1,60 @@
1
+ Dummy::Application.configure do
2
+ # Settings specified here will take precedence over those in config/application.rb
3
+
4
+ # Code is not reloaded between requests
5
+ config.cache_classes = true
6
+
7
+ # Full error reports are disabled and caching is turned on
8
+ config.consider_all_requests_local = false
9
+ config.action_controller.perform_caching = true
10
+
11
+ # Disable Rails's static asset server (Apache or nginx will already do this)
12
+ config.serve_static_assets = false
13
+
14
+ # Compress JavaScripts and CSS
15
+ config.assets.compress = true
16
+
17
+ # Don't fallback to assets pipeline if a precompiled asset is missed
18
+ config.assets.compile = false
19
+
20
+ # Generate digests for assets URLs
21
+ config.assets.digest = true
22
+
23
+ # Defaults to Rails.root.join("public/assets")
24
+ # config.assets.manifest = YOUR_PATH
25
+
26
+ # Specifies the header that your server uses for sending files
27
+ # config.action_dispatch.x_sendfile_header = "X-Sendfile" # for apache
28
+ # config.action_dispatch.x_sendfile_header = 'X-Accel-Redirect' # for nginx
29
+
30
+ # Force all access to the app over SSL, use Strict-Transport-Security, and use secure cookies.
31
+ # config.force_ssl = true
32
+
33
+ # See everything in the log (default is :info)
34
+ # config.log_level = :debug
35
+
36
+ # Use a different logger for distributed setups
37
+ # config.logger = SyslogLogger.new
38
+
39
+ # Use a different cache store in production
40
+ # config.cache_store = :mem_cache_store
41
+
42
+ # Enable serving of images, stylesheets, and JavaScripts from an asset server
43
+ # config.action_controller.asset_host = "http://assets.example.com"
44
+
45
+ # Precompile additional assets (application.js, application.css, and all non-JS/CSS are already added)
46
+ # config.assets.precompile += %w( search.js )
47
+
48
+ # Disable delivery errors, bad email addresses will be ignored
49
+ # config.action_mailer.raise_delivery_errors = false
50
+
51
+ # Enable threaded mode
52
+ # config.threadsafe!
53
+
54
+ # Enable locale fallbacks for I18n (makes lookups for any locale fall back to
55
+ # the I18n.default_locale when a translation can not be found)
56
+ config.i18n.fallbacks = true
57
+
58
+ # Send deprecation notices to registered listeners
59
+ config.active_support.deprecation = :notify
60
+ end
@@ -0,0 +1,42 @@
1
+ Dummy::Application.configure do
2
+ # Settings specified here will take precedence over those in config/application.rb
3
+
4
+ # The test environment is used exclusively to run your application's
5
+ # test suite. You never need to work with it otherwise. Remember that
6
+ # your test database is "scratch space" for the test suite and is wiped
7
+ # and recreated between test runs. Don't rely on the data there!
8
+ config.cache_classes = true
9
+
10
+ # Configure static asset server for tests with Cache-Control for performance
11
+ config.serve_static_assets = true
12
+ config.static_cache_control = "public, max-age=3600"
13
+
14
+ # Log error messages when you accidentally call methods on nil
15
+ config.whiny_nils = true
16
+
17
+ # Show full error reports and disable caching
18
+ config.consider_all_requests_local = true
19
+ config.action_controller.perform_caching = false
20
+
21
+ # Raise exceptions instead of rendering exception templates
22
+ config.action_dispatch.show_exceptions = false
23
+
24
+ # Disable request forgery protection in test environment
25
+ config.action_controller.allow_forgery_protection = false
26
+
27
+ # Tell Action Mailer not to deliver emails to the real world.
28
+ # The :test delivery method accumulates sent emails in the
29
+ # ActionMailer::Base.deliveries array.
30
+ config.action_mailer.delivery_method = :test
31
+
32
+ # Use SQL instead of Active Record's schema dumper when creating the test database.
33
+ # This is necessary if your schema can't be completely dumped by the schema dumper,
34
+ # like if you have constraints or database-specific column types
35
+ # config.active_record.schema_format = :sql
36
+
37
+ # Print deprecation notices to the stderr
38
+ config.active_support.deprecation = :stderr
39
+
40
+ # Allow pass debug_assets=true as a query parameter to load pages with unpackaged assets
41
+ config.assets.allow_debugging = true
42
+ end
@@ -0,0 +1,7 @@
1
+ # Be sure to restart your server when you modify this file.
2
+
3
+ # You can add backtrace silencers for libraries that you're using but don't wish to see in your backtraces.
4
+ # Rails.backtrace_cleaner.add_silencer { |line| line =~ /my_noisy_library/ }
5
+
6
+ # You can also remove all the silencers if you're trying to debug a problem that might stem from framework code.
7
+ # Rails.backtrace_cleaner.remove_silencers!
@@ -0,0 +1,10 @@
1
+ # Be sure to restart your server when you modify this file.
2
+
3
+ # Add new inflection rules using the following format
4
+ # (all these examples are active by default):
5
+ # ActiveSupport::Inflector.inflections do |inflect|
6
+ # inflect.plural /^(ox)$/i, '\1en'
7
+ # inflect.singular /^(ox)en/i, '\1'
8
+ # inflect.irregular 'person', 'people'
9
+ # inflect.uncountable %w( fish sheep )
10
+ # end
@@ -0,0 +1,5 @@
1
+ # Be sure to restart your server when you modify this file.
2
+
3
+ # Add new mime types for use in respond_to blocks:
4
+ # Mime::Type.register "text/richtext", :rtf
5
+ # Mime::Type.register_alias "text/html", :iphone
@@ -0,0 +1,7 @@
1
+ # Be sure to restart your server when you modify this file.
2
+
3
+ # Your secret key for verifying the integrity of signed cookies.
4
+ # If you change this key, all old signed cookies will become invalid!
5
+ # Make sure the secret is at least 30 characters and all random,
6
+ # no regular words or you'll be exposed to dictionary attacks.
7
+ Dummy::Application.config.secret_token = '69aeb3276dac880109ae5ed6cb2a24e24e8547807b2d6775c821ab74ce52722a4d705f9aa617e1f345614009b40dda20c8d9865ed0908d63113a2851b7dd5907'
@@ -0,0 +1,8 @@
1
+ # Be sure to restart your server when you modify this file.
2
+
3
+ Dummy::Application.config.session_store :cookie_store, key: '_dummy_session'
4
+
5
+ # Use the database for sessions instead of the cookie-based default,
6
+ # which shouldn't be used to store highly confidential information
7
+ # (create the session table with "rails generate session_migration")
8
+ # Dummy::Application.config.session_store :active_record_store
@@ -0,0 +1,14 @@
1
+ # Be sure to restart your server when you modify this file.
2
+ #
3
+ # This file contains settings for ActionController::ParamsWrapper which
4
+ # is enabled by default.
5
+
6
+ # Enable parameter wrapping for JSON. You can disable this by setting :format to an empty array.
7
+ ActiveSupport.on_load(:action_controller) do
8
+ wrap_parameters format: [:json]
9
+ end
10
+
11
+ # Disable root element in JSON by default.
12
+ ActiveSupport.on_load(:active_record) do
13
+ self.include_root_in_json = false
14
+ end
@@ -0,0 +1,5 @@
1
+ # Sample localization file for English. Add more files in this directory for other locales.
2
+ # See https://github.com/svenfuchs/rails-i18n/tree/master/rails%2Flocale for starting points.
3
+
4
+ en:
5
+ hello: "Hello world"
@@ -0,0 +1,269 @@
1
+ # French translations for Ruby on Rails
2
+ # by Christian Lescuyer (christian@flyingcoders.com)
3
+ # contributors:
4
+ # - Sebastien Grosjean - ZenCocoon.com
5
+ # - Bruno Michel - http://github.com/nono
6
+ # - Tsutomu Kuroda - http://github.com/kuroda (t-kuroda@oiax.jp)
7
+
8
+ fr:
9
+ date:
10
+ formats:
11
+ default: "%d/%m/%Y"
12
+ short: "%e %b"
13
+ long: "%e %B %Y"
14
+ day_names:
15
+ - dimanche
16
+ - lundi
17
+ - mardi
18
+ - mercredi
19
+ - jeudi
20
+ - vendredi
21
+ - samedi
22
+ abbr_day_names:
23
+ - dim
24
+ - lun
25
+ - mar
26
+ - mer
27
+ - jeu
28
+ - ven
29
+ - sam
30
+ month_names:
31
+ - ~
32
+ - janvier
33
+ - février
34
+ - mars
35
+ - avril
36
+ - mai
37
+ - juin
38
+ - juillet
39
+ - août
40
+ - septembre
41
+ - octobre
42
+ - novembre
43
+ - décembre
44
+ abbr_month_names:
45
+ - ~
46
+ - jan.
47
+ - fév.
48
+ - mar.
49
+ - avr.
50
+ - mai
51
+ - juin
52
+ - juil.
53
+ - août
54
+ - sept.
55
+ - oct.
56
+ - nov.
57
+ - déc.
58
+ order:
59
+ - :day
60
+ - :month
61
+ - :year
62
+
63
+ time:
64
+ formats:
65
+ default: "%d %B %Y %H:%M:%S"
66
+ short: "%d %b %H:%M"
67
+ long: "%A %d %B %Y %H:%M"
68
+ am: 'am'
69
+ pm: 'pm'
70
+
71
+ datetime:
72
+ distance_in_words:
73
+ half_a_minute: "une demi-minute"
74
+ less_than_x_seconds:
75
+ zero: "moins d'une seconde"
76
+ one: "moins d'une seconde"
77
+ other: "moins de %{count} secondes"
78
+ x_seconds:
79
+ one: "1 seconde"
80
+ other: "%{count} secondes"
81
+ less_than_x_minutes:
82
+ zero: "moins d'une minute"
83
+ one: "moins d'une minute"
84
+ other: "moins de %{count} minutes"
85
+ x_minutes:
86
+ one: "1 minute"
87
+ other: "%{count} minutes"
88
+ about_x_hours:
89
+ one: "environ une heure"
90
+ other: "environ %{count} heures"
91
+ x_days:
92
+ one: "1 jour"
93
+ other: "%{count} jours"
94
+ about_x_months:
95
+ one: "environ un mois"
96
+ other: "environ %{count} mois"
97
+ x_months:
98
+ one: "1 mois"
99
+ other: "%{count} mois"
100
+ about_x_years:
101
+ one: "environ un an"
102
+ other: "environ %{count} ans"
103
+ over_x_years:
104
+ one: "plus d'un an"
105
+ other: "plus de %{count} ans"
106
+ almost_x_years:
107
+ one: "presqu'un an"
108
+ other: "presque %{count} ans"
109
+ prompts:
110
+ year: "Année"
111
+ month: "Mois"
112
+ day: "Jour"
113
+ hour: "Heure"
114
+ minute: "Minute"
115
+ second: "Seconde"
116
+
117
+ number:
118
+ format:
119
+ separator: ","
120
+ delimiter: " "
121
+ precision: 3
122
+ significant: false
123
+ strip_insignificant_zeros: false
124
+ currency:
125
+ format:
126
+ format: "%n %u"
127
+ unit: "€"
128
+ separator: ","
129
+ delimiter: " "
130
+ precision: 2
131
+ significant: false
132
+ strip_insignificant_zeros: false
133
+ percentage:
134
+ format:
135
+ delimiter: ""
136
+ precision:
137
+ format:
138
+ delimiter: ""
139
+ human:
140
+ format:
141
+ delimiter: ""
142
+ precision: 2
143
+ significant: true
144
+ strip_insignificant_zeros: true
145
+ storage_units:
146
+ format: "%n %u"
147
+ units:
148
+ byte:
149
+ one: "octet"
150
+ other: "octets"
151
+ kb: "ko"
152
+ mb: "Mo"
153
+ gb: "Go"
154
+ tb: "To"
155
+ decimal_units:
156
+ format: "%n %u"
157
+ units:
158
+ unit: ""
159
+ thousand: "millier"
160
+ million: "million"
161
+ billion: "milliard"
162
+ trillion: "billion"
163
+ quadrillion: "million de milliards"
164
+
165
+ support:
166
+ array:
167
+ words_connector: ", "
168
+ two_words_connector: " et "
169
+ last_word_connector: " et "
170
+ select:
171
+ prompt: "Veuillez sélectionner"
172
+
173
+ helpers:
174
+ select:
175
+ prompt: "Veuillez sélectionner"
176
+ submit:
177
+ create: "Créer un %{model}"
178
+ update: "Modifier ce %{model}"
179
+ submit: "Enregistrer ce %{model}"
180
+
181
+ attributes:
182
+ created_at: "Créé le"
183
+ updated_at: "Modifié le"
184
+
185
+ errors:
186
+ format: "Le %{attribute} %{message}"
187
+ messages: &errors_messages
188
+ inclusion: "n'est pas inclus(e) dans la liste"
189
+ exclusion: "n'est pas disponible"
190
+ invalid: "n'est pas valide"
191
+ confirmation: "ne concorde pas avec la confirmation"
192
+ accepted: "doit être accepté(e)"
193
+ empty: "doit être rempli(e)"
194
+ blank: "doit être rempli(e)"
195
+ too_long: "est trop long (pas plus de %{count} caractères)"
196
+ too_short: "est trop court (au moins %{count} caractères)"
197
+ wrong_length: "ne fait pas la bonne longueur (doit comporter %{count} caractères)"
198
+ not_a_number: "n'est pas un nombre"
199
+ not_an_integer: "doit être un nombre entier"
200
+ greater_than: "doit être supérieur à %{count}"
201
+ greater_than_or_equal_to: "doit être supérieur ou égal à %{count}"
202
+ equal_to: "doit être égal à %{count}"
203
+ less_than: "doit être inférieur à %{count}"
204
+ less_than_or_equal_to: "doit être inférieur ou égal à %{count}"
205
+ odd: "doit être impair"
206
+ even: "doit être pair"
207
+ template: &errors_template
208
+ header:
209
+ one: "Impossible d'enregistrer ce %{model} : 1 erreur"
210
+ other: "Impossible d'enregistrer ce %{model} : %{count} erreurs"
211
+ body: "Veuillez vérifier les champs suivants : "
212
+
213
+ activerecord:
214
+ errors:
215
+ messages:
216
+ taken: "n'est pas disponible"
217
+ record_invalid: "La validation a échoué : %{errors}"
218
+ <<: *errors_messages
219
+ template:
220
+ <<: *errors_template
221
+ full_messages:
222
+ format: "%{attribute} %{message}"
223
+
224
+ attributes:
225
+ models:
226
+ user: Utilisateur
227
+ user:
228
+ username: Pseudo
229
+ email: Adresse de courriel
230
+ password: Mot de passe
231
+ password_confirmation: Mot de passe (confirmation)
232
+
233
+ dashboards:
234
+ successfully_updated: "Votre mot de passe a été modifié"
235
+ index:
236
+ create: 'S''inscrire'
237
+ remember: 'Me rappeler mon not de passe'
238
+ login: 'Se connecter'
239
+ logout: 'Se déconnecter'
240
+ edit: 'Modifier mon compte'
241
+ destroy: 'Supprimer mon compte'
242
+ are_you_sure: 'Êtes vous sur?'
243
+
244
+ authlogic:
245
+ error_messages:
246
+ login_blank: "doit être rempli(e)"
247
+ login_not_found: "n'est pas valide"
248
+ login_invalid: "doit contenir uniquement des lettres, des nombres, des espaces, et .-_@ s'il vous plaît."
249
+ consecutive_failed_logins_limit_exceeded: La limit de tentatives de connexion consectuives a été dépassée. Le compte à été désactivé.
250
+ email_invalid: ne semble pas être une adresse de courriel
251
+ password_blank: "doit être rempli(e)"
252
+ password_invalid: "n'est pas valide"
253
+ not_active: "Votre compte n'est pas actif"
254
+ not_confirmed: "Votre compte n'est pas confirmé"
255
+ not_approved: "Votre compte n'est pas approuvé"
256
+ no_authentication_details: "Vous n'avez pas fournis les details pour vous authentifier."
257
+ models:
258
+ user: "Utilisateur"
259
+ user_session: "Session utilisateur"
260
+ attributes:
261
+ user_session:
262
+ username: Pseudo
263
+ login: Login
264
+ email: Courriel
265
+ password: "Mot de passe"
266
+ remember_me: "se souvenir de moi"
267
+
268
+ application_controller:
269
+ access_denied: Vous devez vous connecter pour accéder à cette page.
@@ -0,0 +1,4 @@
1
+ Rails.application.routes.draw do
2
+
3
+ mount DouguiUsers::Engine => "", :as => "dougui_users"
4
+ end
@@ -0,0 +1,4 @@
1
+ # This file is used by Rack-based servers to start the application.
2
+
3
+ require ::File.expand_path('../config/environment', __FILE__)
4
+ run Dummy::Application
Binary file
@@ -0,0 +1,28 @@
1
+ # encoding: UTF-8
2
+ # This file is auto-generated from the current state of the database. Instead
3
+ # of editing this file, please use the migrations feature of Active Record to
4
+ # incrementally modify your database, and then regenerate this schema definition.
5
+ #
6
+ # Note that this schema.rb definition is the authoritative source for your
7
+ # database schema. If you need to create the application database on another
8
+ # system, you should be using db:schema:load, not running all the migrations
9
+ # from scratch. The latter is a flawed and unsustainable approach (the more migrations
10
+ # you'll amass, the slower it'll run and the greater likelihood for issues).
11
+ #
12
+ # It's strongly recommended to check this file into your version control system.
13
+
14
+ ActiveRecord::Schema.define(:version => 20110916144049) do
15
+
16
+ create_table "dougui_users_users", :force => true do |t|
17
+ t.string "username", :null => false
18
+ t.string "email", :null => false
19
+ t.string "crypted_password"
20
+ t.string "password_salt"
21
+ t.string "persistence_token"
22
+ t.boolean "active", :default => false, :null => false
23
+ t.string "perishable_token", :default => "", :null => false
24
+ t.datetime "created_at"
25
+ t.datetime "updated_at"
26
+ end
27
+
28
+ end
Binary file