Add Custom Field/Column to Devise with Rails In This We add Custom Column In “SignUp Page” :- Steps To Add Custom Field/Column to Devise i.e :- 1) Under App Console Write Code :- rails g [...] April 10, 2015
Ror Routes + Custom Routes ADD ROUTES IN APP BY :- 1) Go to -> YourApp -> config -> routes.rb (Paste Code Here) i.e. root ‘blogs#home’ match [...] April 6, 2015
Ror Sent Forgot your password? Email Sent Forget Your Password Code By :- 1) Go to -> YourApp -> Config -> environments -> development.rb (Paste Code Here). [...] April 6, 2015
Add Devise GEM In RoR Steps To Use Devise Gem :- 1) You can add it to your Gemfile with: gem ‘devise‘ Run the bundle command to install it. 2) After you [...] March 21, 2015
Useful Heroku Commands 1) heroku console —app my_app 2) heroku rake db:migrate —app my_app 3) heroku stack —app my_app 4) heroku pg:reset [...] February 11, 2015
Devise json class SessionsController < Devise::SessionsController skip_before_filter :verify_authenticity_token skip_before_filter :require_no_authentication, :only [...] February 2, 2015
Add username to Devise Either follow this link https://github.com/plataformatec/devise/wiki/How-To:-Allow-users-to-sign-in-using-their-username-or-email-address follow the steps [...] January 14, 2015
Rails Installation on production server Steps to Create and Secure Server Refer document “Firewall and SSH” Steps to Configure Application login using putty or ssh user@ip sudo apt-get [...] August 21, 2014