### Home Classes Methods

### In Files

- app/controllers/devise_auth/registrations_controller.rb

### Parent

Devise::RegistrationsController

### Methods

- #create
- #edit
- #new

### Files

- README_FOR_APP

### Class Index

Quicksearch

- LastFM
- LastFM::Album
- LastFM::Artist
- LastFM::Chart
- LastFM::Request
- LastFM::Track
- LastFM::Validator
- DeviseAuth
- DeviseAuth::RegistrationsController
- DeviseAuth::SessionsController
- Users
- Users::OmniauthCallbacksController
- ApplicationController
- ApplicationHelper
- Artist
- ArtistsController
- ChartsController
- HomeController
- Playlist
- PlaylistsTracks
- RedisQueryable
- SearchController
- Track
- TracksController
- User
- UsersController
- UsersHelper
- YoutubeVideoRating

No matching classes.

# DeviseAuth::RegistrationsController

### Public Instance Methods

create() click to toggle source

        # File app/controllers/devise_auth/registrations_controller.rb, line 12
    12:   def create

    13:     build_resource

    14:

    15:     if resource.save

    16:       if resource.active_for_authentication?

    17:         set_flash_message :notice, :signed_up if is_navigational_format?

    18:         sign_in(resource_name, resource)

    19:         redirect_to user_path(resource)

    20:       else

    21:         set_flash_message :notice, :inactive_signed_up, :reason => resource.inactive_message.to_s if is_navigational_format?

    22:         expire_session_data_after_sign_in!

    23:         redirect_to user_path(resource)

    24:       end

    25:     else

    26:       clean_up_passwords(resource)

    27:       respond_with_navigational(resource) { render :partial => "devise/registrations/new" }

    28:     end

    29:   end

edit() click to toggle source

        # File app/controllers/devise_auth/registrations_controller.rb, line 8
     8:   def edit

     9:     render :partial => "devise/registrations/edit"

    10:   end

new() click to toggle source

       # File app/controllers/devise_auth/registrations_controller.rb, line 3
    3:   def new

    4:     resource = build_resource({})

    5:     respond_with_navigational(resource) { render :partial => "devise/registrations/new" }

    6:   end

Disabled; run with --debug to generate this.

[Validate]

Generated with the Darkfish Rdoc Generator 1.1.6.