This file contains hidden or 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
| ruby: | |
| version: 1.9 | |
| environment: | |
| RACK_ENV: production | |
| web: | |
| context: / | |
| services: |
This file contains hidden or 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
| TorqueBox.configure do | |
| ruby do | |
| version "1.9" | |
| end | |
| environment do | |
| RACK_ENV 'production' | |
| end | |
This file contains hidden or 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
| 18:47:19,680 INFO [TorqueBox] (MSC service thread 1-6) Broker thread dead, exiting. | |
| 18:47:19,680 INFO [org.torquebox.core.runtime] (MSC service thread 1-4) undeploy!: deployment "cdr_svc_broker-knob.yml" | |
| 18:47:19,680 INFO [org.jboss.as.server.deployment] (MSC service thread 1-4) Stopped deployment cdr_svc_broker-knob.yml in | |
| 375ms | |
| 18:47:19,680 INFO [org.jboss.as.server.deployment] (MSC service thread 1-5) Starting deployment of "cdr_svc_broker-knob.yml" | |
| 18:47:19,680 ERROR [org.jboss.msc.service.fail] (MSC service thread 1-5) MSC00001: Failed to start service jboss.deployment.unit."cdr_svc_broker-knob.yml".STRUCTURE: org.jboss.msc.service.StartException in service jboss.deployment.unit."cdr_svc_broker-knob.yml".STRUCTURE: Failed to process phase STRUCTURE of deployment "cdr_svc_broker-knob.yml" | |
| at org.jboss.as.server.deployment.DeploymentUnitPhaseService.start(DeploymentUnitPhaseService.java:121) [jboss-as-server-7.x.incremental.109.jar:7.x.incremental.109] | |
| at org.jboss.msc.service.ServiceCo |
This file contains hidden or 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
| C:\cygwin\home\patrik\dev\ore>rake --trace | |
| (in C:/cygwin/home/patrik/dev/ore) | |
| ** Invoke default (first_time) | |
| ** Invoke spec (first_time) | |
| ** Execute spec | |
| c:/jruby-1.5.3/bin/jruby.exe -S rspec "./spec/dependency_spec.rb" "./spec/document_file_spec.rb" "./spec/naming_spec.rb" "./spec/projects/dm_plugin_project_spec.rb" "./spec/projects/explicit_project_spec.rb" "./spec/projects/ffi_binding_project_spec.rb" "./spec/projects/jeweler_project_spec.rb" "./spec/projects/minimal_project_spec.rb" "./spec/versions/version_file_spec.rb" "./spec/versions/version_spec.rb" | |
| rake aborted! | |
| ruby -S rspec "./spec/dependency_spec.rb" "./spec/document_file_spec.rb" "./spec/naming_spec.rb" "./spec/projects/dm_plugin_project_spec.rb" "./spec/projects/explicit_project_spec.rb" "./spec/projects/ffi_binding_project_spec.rb" "./spec/projects/jeweler_project_spec.rb" "./spec/projects/minimal_project_spec.rb" "./spec/versions/version_file_spec.rb" "./spec/versions/version_spec.rb" failed | |
| c:/jruby-1.5.3/lib/ruby/gems/1.8/gems/rspec-core-2.0 |
This file contains hidden or 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
| psundberg@lnpsprod1:~/dev/bug-reproductions/sti-reload $ ./script/rails c | |
| [datamapper] Setting up the "development" environment: | |
| [datamapper] Setting up :default repository: '/home/psundberg/dev/bug-reproductions/sti-reload/db/development.sqlite3' on sqlite3 | |
| Loading development environment (Rails 3.0.0.beta3) | |
| ruby-1.9.1-p378 > Parent.descendants | |
| => #<DataMapper::Model::DescendantSet:0x0000001c942b08 @descendants=[Parent], @ancestors=#<DataMapper::Model::DescendantSet:0x0000001d40aa88 @descendants=[Parent, ChildA, ChildB, Parent], @ancestors=nil>> |
This file contains hidden or 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/lib/dm-core/associations/many_to_many.rb b/lib/dm-core/associations/many_to_many.rb | |
| index fe587cc..120d5f1 100644 | |
| --- a/lib/dm-core/associations/many_to_many.rb | |
| +++ b/lib/dm-core/associations/many_to_many.rb | |
| @@ -467,8 +467,17 @@ module DataMapper | |
| attributes = {} | |
| attributes[via] = resource if resource | |
| - intermediary = intermediaries.first_or_new(attributes) | |
| - return unless intermediary.__send__(method) |
NewerOlder