I hereby claim:
- I am dbussink on github.
- I am dbussink (https://keybase.io/dbussink) on keybase.
- I have a public key whose fingerprint is 87E1 5CE5 1C79 6545 3596 A397 F157 3D8E 8357 53FD
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
foo |
Running 470 tests...................................................... | |
In TestChannel::test_receive_causes_event_block: | |
./vm/test/test_channel.hpp:98: Error: Expected (chan->waiting->locate(state, 0) == state->globals.current_thread.get()), found ({ 0E 00 00 00 } != { 4C CE 71 05 }) | |
................................................................................................................................................................. | |
In TestInstructions::test_send_stack_with_splat: | |
vm/instructions.rb:2362: Error: Expected (task->stack->at(0) == Object::i2n(3)), found ({ 14 D4 01 06 } != { 0D 00 00 00 }) | |
. | |
In TestInstructions::test_send_super_stack_with_splat: | |
vm/instructions.rb:2564: Error: Expected (task->stack->at(0) == Object::i2n(3)), found ({ 24 D9 01 06 } != { 0D 00 00 00 }) | |
....Bus error |
diff --git a/spec/integration/association_spec.rb b/spec/integration/association_spec.rb | |
index 953338c..bbad032 100644 | |
--- a/spec/integration/association_spec.rb | |
+++ b/spec/integration/association_spec.rb | |
@@ -370,6 +370,13 @@ if ADAPTER | |
Machine.first(:name => 'machine10').should_not be_nil | |
end | |
+ it 'should set and retrieve associations on not yet saved objects' do | |
+ e = Machine.create(:name => 'machine10') |
dirkjan@mrkrabs ~/Documents/projects/ruby1.8 $ date | |
Sat 2 Aug 2008 21:46:09 CEST | |
dirkjan@mrkrabs ~/Documents/projects/ruby1.8 $ irb | |
irb(main):001:0> Time.now.to_s | |
=> "Sat Aug 02 21:46:52 +0200 2008" | |
dirkjan@mrkrabs ~/Documents/projects/dm-constraints $ spec spec/ | |
..F | |
1) | |
PostgresError in 'DataMapper::Constraints should not be able to create related objects with a failing foreign key constraint' | |
ERROR: insert or update on table "cows" violates foreign key constraint "stables_fk" | |
DETAIL: Key (stable_id)=(342523311) is not present in table "stables". | |
/Library/Ruby/Gems/1.8/gems/dm-core-0.9.4/lib/dm-core/adapters/data_objects_adapter.rb:89:in `execute_non_query' | |
index 914a147..f8f5d0c 100644 | |
--- a/lib/dm-core/auto_migrations.rb | |
+++ b/lib/dm-core/auto_migrations.rb | |
@@ -8,9 +8,14 @@ module DataMapper | |
# | |
# @param Symbol repository_name the repository to be migrated | |
# @calls DataMapper::Resource#auto_migrate! | |
- def self.auto_migrate(repository_name = nil) | |
- DataMapper::Resource.descendants.each do |model| | |
- model.auto_migrate!(repository_name) |
# colors for ls, etc. | |
parse_git_branch() { | |
git branch 2> /dev/null | sed -e '/^[^*]/d' -e 's/* \(.*\)/ \1/' | |
} | |
alias ls="ls -G -F" | |
if [[ ${EUID} == 0 ]] ; then | |
PS1='\[\033[01;31m\]\u@\h \[\033[01;34m\]\w\[\033[01;35m\]$(parse_git_branch)\[\033[01;34m\] \$ \[\033[00m\]' | |
else | |
PS1='\[\033[01;32m\]\u@\h \[\033[01;34m\]\w\[\033[01;35m\]$(parse_git_branch)\[\033[01;34m\] \$ \[\033[00m\]' | |
fi |
static INTEGER from(native_int i); | |
static INTEGER from(char i); | |
static INTEGER from(unsigned char i); | |
static INTEGER from(short i); | |
static INTEGER from(unsigned short i); | |
static INTEGER from(int i); | |
static INTEGER from(unsigned int i); | |
static INTEGER from(long i); | |
static INTEGER from(unsigned long i); |
undefined method `to_const_path' for :deleted_at:Symbol | |
/Library/Ruby/Gems/1.8/gems/extlib-0.9.5/lib/extlib/inflection.rb:50:in `underscore' | |
/Users/dirkjan/Documents/projects/pep/gems/gems/dm-core-0.9.4/lib/dm-core/naming_conventions.rb:71:in `call' | |
/Users/dirkjan/Documents/projects/pep/gems/gems/dm-core-0.9.4/lib/dm-core/property.rb:579:in `fields' | |
/Users/dirkjan/Documents/projects/pep/gems/gems/dm-core-0.9.4/lib/dm-core/property.rb:290:in `call' | |
/Users/dirkjan/Documents/projects/pep/gems/gems/dm-core-0.9.4/lib/dm-core/property.rb:290:in `default' | |
/Users/dirkjan/Documents/projects/pep/gems/gems/dm-core-0.9.4/lib/dm-core/property.rb:290:in `[]' | |
/Users/dirkjan/Documents/projects/pep/gems/gems/dm-core-0.9.4/lib/dm-core/property.rb:290:in `field' | |
/Users/dirkjan/Documents/projects/pep/gems/gems/dm-core-0.9.4/lib/dm-core/adapters/data_objects_adapter.rb:374:in `original_property_to_column_name' | |
/Users/dirkjan/Documents/projects/pep/gems/gems/dm-aggregates-0.9.4/lib/dm-aggregates/adapters/data_objects_adap |