Each of these commands will run an ad hoc http static server in your current (or specified) directory, available at http://localhost:8000. Use this power wisely.
$ python -m SimpleHTTPServer 8000
devise_for :users, :skip => [:registrations] | |
as :user do | |
get 'users/edit' => 'devise/registrations#edit', :as => 'edit_user_registration' | |
put 'users' => 'devise/registrations#update', :as => 'user_registration' | |
end | |
# And then modify the app/views/devise/shared/_links.erb |
Each of these commands will run an ad hoc http static server in your current (or specified) directory, available at http://localhost:8000. Use this power wisely.
$ python -m SimpleHTTPServer 8000
First, add pry-rails to your Gemfile:
https://github.com/rweng/pry-rails
gem 'pry-rails', group: :development
Then you'll want to rebuild your Docker container to install the gems