By default, the general appearance of the prompt is::
(<branch> <upstream branch> <branch tracking>|<local status>)
The symbols are as follows:
- Local Status Symbols
<?xml version="1.0" encoding="UTF-8"?> | |
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" \ | |
"http://www.apple.com/DTDs/PropertyList-1.0.dtd"> | |
<plist version="1.0"> | |
<dict> | |
<!-- Contains a unique string that identifies your daemon to launchd. | |
This key is required. --> | |
<key>Label</key> | |
<string>com.gocongress.backup</string> |
# 512 | |
Authentication .. no longer possible without using Strong Parameters | |
https://github.com/binarylogic/authlogic/issues/512 | |
Closed by #558, which deprecates passing AC::Parameters to authlogic. Going | |
forward, perform the necessary permit, and pass a plain Hash to authlogic. | |
# 558 |
#!/usr/bin/env ruby | |
require 'bundler/inline' | |
gemfile(true) do | |
ruby '2.4.2' | |
source 'https://rubygems.org' | |
gem 'capybara' | |
gem 'faraday' | |
end |
# https://github.com/airblade/paper_trail/issues/594 | |
# Use this template to report PaperTrail bugs. | |
# It is based on the ActiveRecord template. | |
# https://github.com/rails/rails/blob/master/guides/bug_report_templates/active_record_gem.rb | |
begin | |
require 'bundler/inline' | |
rescue LoadError => e | |
$stderr.puts 'Bundler version 1.10 or later is required. Please update your Bundler' | |
raise e |
begin | |
require 'bundler/inline' | |
rescue LoadError => e | |
$stderr.puts 'Bundler version 1.10 or later is required. Please update your Bundler' | |
raise e | |
end | |
gemfile(true) do | |
source 'https://rubygems.org' | |
gem 'rails', '5.1.0' # use correct rails version |
drop table if exists d; | |
drop table if exists c; | |
drop table if exists b; | |
drop table if exists a; | |
create table a ( | |
id int not null auto_increment, | |
primary key (id) | |
); |
# Use this template to report PaperTrail bugs. | |
# Please include only the minimum code necessary to reproduce your issue. | |
require "bundler/inline" | |
# STEP ONE: What versions are you using? | |
gemfile(true) do | |
ruby "2.3.3" | |
source "https://rubygems.org" | |
gem "activerecord", "4.2.7.1" | |
gem "minitest", "5.9.0" |
# Use this template to report PaperTrail bugs. | |
# It is based on the ActiveRecord template. | |
# https://github.com/rails/rails/blob/master/guides/bug_report_templates/active_record_gem.rb | |
begin | |
require "bundler/inline" | |
rescue LoadError => e | |
$stderr.puts "Bundler version 1.10 or later is required. Please update your Bundler" | |
raise e | |
end |
# with YAML | |
# ------------ | |
irb(main):005:0> Widget.create(name: "asldkfj", a_text: "lsdkjflskdjf", an_integer: 11341, a_float: 1.3214, a_decimal: 14.31424, a_datetime: DateTime.new(), a_time: Time.current, a_date: Date.new(2016, 4, 11)) | |
(0.1ms) begin transaction | |
SQL (0.4ms) INSERT INTO "widgets" ("name", "a_text", "an_integer", "a_float", "a_decimal", "a_datetime", "a_time", "a_date", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["name", "asldkfj"], ["a_text", "lsdkjflskdjf"], ["an_integer", 11341], ["a_float", 1.3214], ["a_decimal", 14.3142], ["a_datetime", "-4712-01-01 00:00:00.000000"], ["a_time", "2016-04-11 05:25:31.453950"], ["a_date", "2016-04-11"], ["created_at", "2016-04-11 05:25:31.465095"], ["updated_at", "2016-04-11 05:25:31.465095"]] | |
SQL (0.2ms) INSERT INTO "versions" ("event", "created_at", "object_changes", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "create"], ["created_at", "2016-04-11 05:25:31.465095"], ["object_changes", "---\nname:\n- \n- as |