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
Less::Error - expected ')' got '(': | |
less (2.6.0) lib/less/parser.rb:74:in `block (2 levels) in parse' | |
at finish (/Users/bronson/.gem/ruby/2.2.2/gems/less-2.6.0/lib/less/js/lib/less/parser.js:666:in `' | |
at tree.importVisitor.run (/Users/bronson/.gem/ruby/2.2.2/gems/less-2.6.0/lib/less/js/lib/less/import-visitor.js:34:in `' | |
at Parser.parser.parse (/Users/bronson/.gem/ruby/2.2.2/gems/less-2.6.0/lib/less/js/lib/less/parser.js:675:in `' | |
less (2.6.0) lib/less/parser.rb:64:in `block in parse' | |
less (2.6.0) lib/less/java_script/v8_context.rb:90:in `block in do_lock' | |
less (2.6.0) lib/less/java_script/v8_context.rb:88:in `call' | |
less (2.6.0) lib/less/java_script/v8_context.rb:88:in `Locker' | |
less (2.6.0) lib/less/java_script/v8_context.rb:88:in `do_lock' |
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
@b1 = button "Mjello?" | |
@para = para "please load some data" | |
@b1.click do | |
@para.replace File.read("tester.txt", "r" | |
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
/Users/bronson/.rubies/ruby-2.2.2/bin/ruby -w -Itest:lib:/Users/bronson/rails/railties/../activesupport/lib:/Users/bronson/rails/railties/../actionpack/lib:/Users/bronson/rails/railties/../activemodel/lib test/application/mailer_previews_test.rb | |
Run options: --seed 28851 | |
# Running: | |
.................F... | |
Finished in 12.064605s, 1.7406 runs/s, 8.4545 assertions/s. | |
1) Failure: |
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
MariaDB [(none)]> set old_mode=ZERO_DATE_TIME_CAST; | |
Query OK, 0 rows affected (0.00 sec) | |
MariaDB [test]> select @@old_mode, @@global.old_mode; | |
+---------------------+-------------------+ | |
| @@old_mode | @@global.old_mode | | |
+---------------------+-------------------+ | |
| ZERO_DATE_TIME_CAST | | | |
+---------------------+-------------------+ | |
1 row in set (0.00 sec) |
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
vicentiu has joined (~vicentiu@86.127.201.159) | |
10:36 bronson_ | |
I'm seeing a difference between mariadb and mysql... hoping someone can help me figure out a good fix. | |
bronson_ | |
I have a `time` column... I'm trying to find a record using: SELECT `foos`.* FROM `foos` WHERE `foos`.`start` = '2000-01-01 12:30:00' LIMIT 1 | |
bronson_ | |
which is, of course, outside time's proper range. | |
bronson_ | |
mysql appears to ignore the date part and find the time correctly. (and postgres and sqlite do this too) | |
bronson_ |
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
mariadb 10.1.8-MariaDB-log (root) [test]> create table t1 (id serial, t time); | |
Query OK, 0 rows affected (0.01 sec) | |
mariadb 10.1.8-MariaDB-log (root) [test]> insert into t1 (t) values ('12:30:00'); | |
Query OK, 1 row affected (0.00 sec) | |
mariadb 10.1.8-MariaDB-log (root) [test]> select * from t1 where t = '2000-01-01 12:30:00'; | |
Empty set (0.00 sec) | |
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
/Users/bronson/.rubies/ruby-2.2.2/bin/ruby -w -I"lib:test" -I"/Users/bronson/.gem/ruby/2.2.2/gems/rake-10.5.0/lib" "/Users/bronson/.gem/ruby/2.2.2/gems/rake-10.5.0/lib/rake/rake_test_loader.rb" "/Users/bronson/rails/actioncable/test/channel/base_test.rb" "/Users/bronson/rails/actioncable/test/channel/broadcasting_test.rb" "/Users/bronson/rails/actioncable/test/channel/naming_test.rb" "/Users/bronson/rails/actioncable/test/channel/periodic_timers_test.rb" "/Users/bronson/rails/actioncable/test/channel/rejection_test.rb" "/Users/bronson/rails/actioncable/test/channel/stream_test.rb" "/Users/bronson/rails/actioncable/test/client_test.rb" "/Users/bronson/rails/actioncable/test/connection/authorization_test.rb" "/Users/bronson/rails/actioncable/test/connection/base_test.rb" "/Users/bronson/rails/actioncable/test/connection/cross_site_forgery_test.rb" "/Users/bronson/rails/actioncable/test/connection/identifier_test.rb" "/Users/bronson/rails/actioncable/test/connection/multiple_identifiers_test.rb" "/Users/bronson/ |
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
~/paper_trail (master)$ ctr=; while DB=postgres rake; do echo ITERATION $((ctr += 1)); done | |
warning: parser/current is loading parser/ruby22, which recognizes | |
warning: 2.2.3-compliant syntax, but you are running 2.2.2. | |
warning: please see https://github.com/whitequark/parser#compatibility-with-ruby-mri. | |
Running RuboCop... | |
Inspecting 31 files | |
............................... | |
31 files inspected, no offenses detected | |
Run options: --seed 57897 |
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
ITERATION 76 | |
warning: parser/current is loading parser/ruby22, which recognizes | |
warning: 2.2.3-compliant syntax, but you are running 2.2.2. | |
warning: please see https://github.com/whitequark/parser#compatibility-with-ruby-mri. | |
Running RuboCop... | |
Inspecting 31 files | |
............................... | |
31 files inspected, no offenses detected | |
Run options: --seed 31260 |
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
class DropProperties < ActiveRecord::Migration | |
class ChangeHistory < ActiveRecord::Base | |
# copied from real ChangeHistory model | |
scope :for_target, ->(target) { where(target_type: target.class.base_class.to_s, target_id: target.id) } | |
end | |
def change | |
drop_table :properties | |
ChangeHistory.for_target('Property').destroy | |
end |