Class InitializeKotobaController
In: app/controllers/initialize_kotoba_controller.rb
Parent: ApplicationController

Methods

Public Instance methods

[Source]

    # File app/controllers/initialize_kotoba_controller.rb, line 5
 5:   def set_users_password
 6:     for user in User.find(:all)
 7:       user.password = params[:password] || 'test-1234'
 8:       user.save!
 9:     end
10:     redirect_to( :action => 'login', :controller => 'accounts' )
11:   end

[Validate]