This file contains 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
<div class="row"> | |
<div class="col-lg-12"> | |
<div class="panel"> | |
<header class="panel-heading lead">고객 사진 추가</header> | |
<div class="panel-body"> | |
<%= simple_form_for( [:staffs, @user], url: staffs_user_photo_path, html: { class: 'form-horizontal', multipart: true } ) do |f| %> | |
<% if @user.errors.present? %> | |
<script type="text/javascript"> | |
<% @user.errors.full_messages.each do |msg| %> | |
toastr.error('<%= msg %>'); |
This file contains 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
D, [2017-03-20T20:35:43.312080 #84351] DEBUG -- : (0.4ms) CREATE TABLE `schema_migrations` (`version` varchar(255) PRIMARY KEY) ENGINE=InnoDB | |
rails aborted! | |
ActiveRecord::StatementInvalid: Mysql2::Error: No database selected: CREATE TABLE `schema_migrations` (`version` varchar(255) PRIMARY KEY) ENGINE=InnoDB | |
/Users/hyejinan/.rvm/gems/ruby-2.2.5/gems/mysql2-0.4.5/lib/mysql2/client.rb:120:in `_query' | |
/Users/hyejinan/.rvm/gems/ruby-2.2.5/gems/mysql2-0.4.5/lib/mysql2/client.rb:120:in `block in query' | |
/Users/hyejinan/.rvm/gems/ruby-2.2.5/gems/mysql2-0.4.5/lib/mysql2/client.rb:119:in `handle_interrupt' | |
/Users/hyejinan/.rvm/gems/ruby-2.2.5/gems/mysql2-0.4.5/lib/mysql2/client.rb:119:in `query' | |
/Users/hyejinan/.rvm/gems/ruby-2.2.5/gems/activerecord-5.0.1/lib/active_record/connection_adapters/abstract_mysql_adapter.rb:218:in `block in execute' | |
/Users/hyejinan/.rvm/gems/ruby-2.2.5/gems/activerecord-5.0.1/lib/active_record/connection_adapters/abstract_adapter.rb:589:in `block in log' | |
/Users/hyejinan/.rvm/gems/ruby-2. |
This file contains 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
$ brew install homebrew/php/phpmyadmin | |
fatal: Cannot update paths and switch to branch 'stable' at the same time. | |
Did you intend to checkout 'refs/tags/1.1.11' which can not be resolved as commit? | |
fatal: Needed a single revision | |
invalid upstream refs/tags/1.1.11 | |
==> Tapping homebrew/php | |
Cloning into '/usr/local/Homebrew/Library/Taps/homebrew/homebrew-php'... | |
remote: Counting objects: 685, done. | |
remote: Compressing objects: 100% (461/461), done. | |
remote: Total 685 (delta 448), reused 284 (delta 219), pack-reused 0 |
NewerOlder