This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| To circle.yml: | |
| dependencies: | |
| post: | |
| - bin/cisetup | |
| checkout: | |
| post: | |
| - git fetch origin --depth=1000000 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| require 'app_responder' | |
| class ApplicationController < ActionController::Base | |
| include Pundit | |
| protect_from_forgery with: :exception | |
| before_action :authenticate_user! | |
| before_action :configure_permitted_parameters, if: :devise_controller? |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Started GET "/users/35/edit" for 127.0.0.1 at 2014-07-28 12:38:51 +0300 | |
| Processing by UsersController#edit as HTML | |
| Parameters: {"id"=>"35"} | |
| User Load (1.7ms) SELECT "users".* FROM "users" WHERE "users"."id" = 32 ORDER BY "users"."id" ASC LIMIT 1 | |
| From: /home/maxim-abramchuck/Dropbox/Work/Rails/adv_board/app/controllers/users_controller.rb @ line 15 UsersController#edit: | |
| 14: def edit | |
| => 15: binding.pry | |
| 16: @user.build_avatar unless @user.avatar |
NewerOlder