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
virtus :: (re_introduce_value_object_with) » bundle exec rake | |
rake aborted! | |
Don't know how to build task 'default' | |
(See full trace by running task with --trace) |
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
$ bundle exec ruby -Ilib:test test/generators/app_generator_test.rb | |
Run options: --seed 43786 | |
# Running tests: | |
........................................................... | |
Finished tests in 255.709194s, 0.2307 tests/s, 1.5486 assertions/s. |
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
diff --git a/activerecord/lib/active_record/connection_adapters/abstract/quoting.rb b/activerecord/lib/active_record/connection_adapters/abstract/quoting.rb | |
index 552a22d..6ffd4ba 100644 | |
--- a/activerecord/lib/active_record/connection_adapters/abstract/quoting.rb | |
+++ b/activerecord/lib/active_record/connection_adapters/abstract/quoting.rb | |
@@ -61,7 +61,7 @@ module ActiveRecord | |
if column && column.type == :integer | |
value ? 1 : 0 | |
else | |
- value ? 't' : 'f' | |
+ value ? true_value : false_value |
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
1) Failure: | |
ActiveRecord::ConnectionAdapters::PostgreSQLAdapter::QuotingTest#test_quote_time_usec [/Users/senny/Projects/rails/activerecord/test/cases/adapters/postgresql/quoting_test.rb:57]: | |
Expected: "'1970-01-01 00:00:00.000000'" | |
Actual: "'1970-01-01 01:00:00.000000'" | |
2) Failure: | |
PostgresqlDataTypeTest#test_timestamp_with_zone_values_without_rails_time_zone_support [/Users/senny/Projects/rails/activerecord/test/cases/adapters/postgresql/datatype_test.rb:619]: | |
Expected: 2010-01-01 11:00:00 +0100 | |
Actual: 2010-01-01 12:00:00 +0100 |
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
require 'bundler' | |
Bundler.setup(:default) | |
require 'active_record' | |
require 'minitest/autorun' | |
require 'logger' | |
# This connection will do for database-independent bug reports. | |
ActiveRecord::Base.establish_connection(adapter: 'postgresql', database: 'rails_bug') | |
ActiveRecord::Base.logger = Logger.new(STDOUT) |
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
require 'bundler' | |
Bundler.setup(:default) | |
require 'active_record' | |
require 'minitest/autorun' | |
require 'logger' | |
# This connection will do for database-independent bug reports. | |
ActiveRecord::Base.establish_connection(adapter: 'sqlite3', database: ':memory:') | |
ActiveRecord::Base.logger = Logger.new(STDOUT) |
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
# Activate the gem you are reporting the issue against. | |
require 'active_record' | |
require 'minitest/autorun' | |
require 'logger' | |
# This connection will do for database-independent bug reports. | |
ActiveRecord::Base.establish_connection(adapter: 'sqlite3', database: ':memory:') | |
ActiveRecord::Base.logger = Logger.new(STDOUT) | |
ActiveRecord::Schema.define do |
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
unless File.exists?('Gemfile') | |
File.write('Gemfile', <<-GEMFILE) | |
source 'https://rubygems.org' | |
gem 'rails', github: 'rails/rails', branch: '3-2-stable' | |
gem 'sqlite3' | |
GEMFILE | |
system 'bundle' | |
end |
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
(defun cabbage-ruby-test-run-file (filename) | |
(interactive (list(buffer-file-name))) | |
(let* ((name-buffer "ruby-test") | |
(name-buffer-full (format "*%s*" name-buffer))) | |
(display-buffer (get-buffer-create name-buffer-full)) | |
(with-current-buffer name-buffer-full | |
(erase-buffer)) | |
(display-buffer name-buffer-full) | |
(ruby-compilation-do name-buffer (cons "ruby" (list filename))))) |
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
[33m2fcef66[m[32m (HEAD, master)[m explain how to contribute to the documentation. [31m[Yves Senn][m [36m[14 seconds ago][m | |
diff --git a/guides/source/contributing_to_ruby_on_rails.md b/guides/source/contributing_to_ruby_on_rails.md | |
index f95a194..a035279 100644 | |
--- a/guides/source/contributing_to_ruby_on_rails.md | |
+++ b/guides/source/contributing_to_ruby_on_rails.md | |
@@ -184,7 +184,11 @@ Ruby on Rails has two main sets of documentation: the guides help you in learnin | |
You can help improve the Rails guides by making them more coherent, consistent or readable, adding missing information, correcting factual errors, fixing typos, or bringing it up to date with the latest edge Rails. To get involved in the translation of Rails guides, please see [Translating Rails Guides](https://wiki.github.com/rails/docrails/translating-rails-guides). | |