Created
January 10, 2013 20:36
-
-
Save meelash/4505567 to your computer and use it in GitHub Desktop.
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
| Saleem-Abdul-Hamids-Computer:Purvue saleemabdulhamid$ rake db:seed | |
| Environment: {"sessions"=>{"default"=>{"database"=>"saddle", "hosts"=>["localhost:27017"], "options"=>nil}}, "options"=>{"identity_map_enabled"=>true, "raise_not_found_error"=>false}} | |
| Environment: {"sessions"=>{"default"=>{"database"=>"saddle", "hosts"=>["localhost:27017"], "options"=>nil}}, "options"=>{"identity_map_enabled"=>true, "raise_not_found_error"=>false}} | |
| Host: localhost, Port: 27017 | |
| Environment: {"sessions"=>{"default"=>{"database"=>"saddle", "hosts"=>["localhost:27017"], "options"=>nil}}, "options"=>{"identity_map_enabled"=>true, "raise_not_found_error"=>false}} | |
| Environment: {"sessions"=>{"default"=>{"database"=>"saddle", "hosts"=>["localhost:27017"], "options"=>nil}}, "options"=>{"identity_map_enabled"=>true, "raise_not_found_error"=>false}} | |
| Host: localhost, Port: 27017 | |
| We're about to import our data | |
| **************************************************************************************************** | |
| **************************************************************************************************** | |
| **************************************************************************************************** | |
| Creating Indices | |
| Environment: {"sessions"=>{"default"=>{"database"=>"saddle", "hosts"=>["localhost:27017"], "options"=>nil}}, "options"=>{"identity_map_enabled"=>true, "raise_not_found_error"=>false}} | |
| Environment: {"sessions"=>{"default"=>{"database"=>"saddle", "hosts"=>["localhost:27017"], "options"=>nil}}, "options"=>{"identity_map_enabled"=>true, "raise_not_found_error"=>false}} | |
| Host: localhost, Port: 27017 | |
| MONGOID: Created indexes on Account: | |
| MONGOID: Index: {:name=>1}, Options: {} | |
| MONGOID: Index: {:firm_id=>1}, Options: {} | |
| MONGOID: Index: {:name=>1, :firm_id=>1}, Options: {} | |
| MONGOID: Created indexes on Entity: | |
| MONGOID: Index: {:name=>1}, Options: {} | |
| MONGOID: Index: {:parent_id=>1}, Options: {} | |
| MONGOID: Index: {:user_id=>1}, Options: {} | |
| MONGOID: Created indexes on Index: | |
| MONGOID: Index: {:name=>1}, Options: {} | |
| MONGOID: Index: {:index=>1}, Options: {} | |
| MONGOID: Index: {:firm_id=>1}, Options: {} | |
| MONGOID: Index: {:name=>1, :firm_id=>1}, Options: {} | |
| MONGOID: Index: {:index=>1, :firm_id=>1}, Options: {} | |
| MONGOID: Created indexes on Performance: | |
| MONGOID: Index: {:Account=>1}, Options: {} | |
| MONGOID: Index: {:PerfDate=>1}, Options: {} | |
| MONGOID: Index: {:PerfCategory=>1}, Options: {} | |
| MONGOID: Index: {:Account=>1, :PerfCategory=>1, :PerfDate=>1}, Options: {} | |
| MONGOID: Index: {:Account=>1, :Symbol=>1, :PerfDate=>1}, Options: {} | |
| MONGOID: Created indexes on Position: | |
| MONGOID: Index: {:Account=>1, :PostDate=>1}, Options: {} | |
| MONGOID: Index: {:Account=>1, :Symbol=>1, :PostDate=>1, :Lot=>1}, Options: {} | |
| MONGOID: Created indexes on Quote: | |
| MONGOID: Index: {:name=>1}, Options: {} | |
| MONGOID: Index: {:firm_id=>1}, Options: {} | |
| MONGOID: Index: {:Index=>1, :firm_id=>1}, Options: {} | |
| MONGOID: Created indexes on Security: | |
| MONGOID: Index: {:Type=>1}, Options: {} | |
| MONGOID: Index: {:Symbol=>1}, Options: {} | |
| MONGOID: Created indexes on Transaction: | |
| MONGOID: Index: {:PostDate=>1}, Options: {} | |
| MONGOID: Index: {:Account=>1}, Options: {} | |
| MONGOID: Index: {:Account=>1, :Symbol=>1, :PostDate=>1}, Options: {} | |
| **************************************************************************************************** | |
| **************************************************************************************************** | |
| **************************************************************************************************** | |
| Environment: {"sessions"=>{"default"=>{"database"=>"saddle", "hosts"=>["localhost:27017"], "options"=>nil}}, "options"=>{"identity_map_enabled"=>true, "raise_not_found_error"=>false}} | |
| Starting Import of directory /Volumes/DataHD/Users/saleemabdulhamid/Business/freelance/NForm/Purvue/db/test_mongo_data with files [] | |
| Finished Import | |
| **************************************************************************************************** | |
| **************************************************************************************************** | |
| **************************************************************************************************** | |
| Seeding database structure | |
| rake aborted! | |
| undefined method `_id' for nil:NilClass | |
| /Volumes/DataHD/Users/saleemabdulhamid/.rvm/gems/ruby-1.9.3-p362/gems/activesupport-3.1.0/lib/active_support/whiny_nil.rb:48:in `method_missing' | |
| /Volumes/DataHD/Users/saleemabdulhamid/Business/freelance/NForm/Purvue/db/seeds.rb:79:in `<top (required)>' | |
| /Volumes/DataHD/Users/saleemabdulhamid/.rvm/gems/ruby-1.9.3-p362/gems/activesupport-3.1.0/lib/active_support/dependencies.rb:234:in `load' | |
| /Volumes/DataHD/Users/saleemabdulhamid/.rvm/gems/ruby-1.9.3-p362/gems/activesupport-3.1.0/lib/active_support/dependencies.rb:234:in `block in load' | |
| /Volumes/DataHD/Users/saleemabdulhamid/.rvm/gems/ruby-1.9.3-p362/gems/activesupport-3.1.0/lib/active_support/dependencies.rb:223:in `block in load_dependency' | |
| /Volumes/DataHD/Users/saleemabdulhamid/.rvm/gems/ruby-1.9.3-p362/gems/activesupport-3.1.0/lib/active_support/dependencies.rb:640:in `new_constants_in' | |
| /Volumes/DataHD/Users/saleemabdulhamid/.rvm/gems/ruby-1.9.3-p362/gems/activesupport-3.1.0/lib/active_support/dependencies.rb:223:in `load_dependency' | |
| /Volumes/DataHD/Users/saleemabdulhamid/.rvm/gems/ruby-1.9.3-p362/gems/activesupport-3.1.0/lib/active_support/dependencies.rb:234:in `load' | |
| /Volumes/DataHD/Users/saleemabdulhamid/.rvm/gems/ruby-1.9.3-p362/gems/mongoid-3.0.16/lib/mongoid/railties/database.rake:13:in `block (2 levels) in <top (required)>' | |
| /Volumes/DataHD/Users/saleemabdulhamid/.rvm/gems/ruby-1.9.3-p362/bin/ruby_noexec_wrapper:14:in `eval' | |
| /Volumes/DataHD/Users/saleemabdulhamid/.rvm/gems/ruby-1.9.3-p362/bin/ruby_noexec_wrapper:14:in `<main>' | |
| Tasks: TOP => db:seed | |
| (See full trace by running task with --trace) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment