CSC/ECE 517 Spring 2016/Refactor review mapping controller.rb

From Expertiza_Wiki
Revision as of 02:33, 6 February 2016 by Skunapa (talk | contribs)
Jump to navigation Jump to search

Devise is a rack based full-fledged authentication system for Rails. It is a complete MVC solution meaning it can support various models, views and controllers as part of its code and can be used be directly by developers.

History

Devise is first introduced in January 2010 by Plataformatec, a company which builds web and mobile applications. Devise is one of the few authentication systems which support rack based applications and hence can support Rails 3 and up as they are completely rack based. The latest version of devise available is v3.5.3 and it is up to date to Rails 5 beta 2.

Installation

Modules

Methods

authenticate_user!

current_user

user_signed_in?

signed_in(@user)

sign_out(@user)

user_session

See Also

References

Further Reading

External Links